-
Notifications
You must be signed in to change notification settings - Fork 52
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
Yonah arm64 backend updates #229
Yonah arm64 backend updates #229
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good.
aeneas/src/arm64/Arm64Backend.v3
Outdated
config.ExplicitDivChecks = true; | ||
config.ExplicitModChecks = true; | ||
config.IntConvertFUnsigned = false; // no unsigned conversions until AVX? | ||
config.IntConvertFMapsNanToZero = false; // cvts{s,d}2si maps NaN to int.min |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these comments aren't accurate for arm.
aeneas/src/arm64/Arm64Backend.v3
Outdated
def genEntryStub() { | ||
prog.ERROR.unimplemented(); | ||
mach.fail("not implemented"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it'd be helpful to introduce a method that is unimplemented()
to save a little redundancy.
This will need to be rebased on the newest changes. |
55eff9b
to
5aabaf0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm other nit. Can you please run aeneas bump
to update the version number?
|
||
// Override Arm64Backend | ||
|
||
def genSigHandlerInstall(signo: int, handler: Addr) { unimplemented(); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatting is off a little here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good enough to land for now.
Arm64 backend refactoring to pave way for assembler support.