Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all gcc versions - broken default output isa #12

Closed
danielhams opened this issue Aug 31, 2019 · 3 comments

Comments

@danielhams
Copy link
Owner

commented Aug 31, 2019

The gcc compilers in a "mips3" and a "mips4" release are indeed themselves the correct isa - but their "default output" mode isn't what would be expected.

Looks like under certain cases the mips4 compiler spits out mips4 asm - but then the assembler refuses to compile it as it consider mips4 instructions unsupported.

Can be worked around for the moment by explicitly adding -mips4 or -mips3 in your CFLAGS/LDFLAGS.

@danielhams danielhams changed the title all gcc versions - broken default isa all gcc versions - broken default output isa Aug 31, 2019

@danielhams

This comment has been minimized.

Copy link
Owner Author

commented Sep 5, 2019

NOT Fixed in 0.1.2 :-(

@danielhams danielhams closed this Sep 5, 2019

@danielhams

This comment has been minimized.

Copy link
Owner Author

commented Sep 7, 2019

Bah, issue persists with the mips3 gcc compilers (they can produce mips4 code that the mips3 assembler will refuse to assemble).
Must revisit once I find a simple test case to consistently reproduce.

@danielhams danielhams reopened this Sep 7, 2019

@danielhams

This comment has been minimized.

Copy link
Owner Author

commented Sep 10, 2019

Let us try again, in 0.1.3 ....

@danielhams danielhams closed this Sep 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.