Skip to content

Correct gcc m33 floating point handling #6146

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

Merged
merged 1 commit into from
Mar 6, 2018

Conversation

theotherjimmy
Copy link
Contributor

No description provided.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 21, 2018

@cmonr why is this needs: work? because no description provided?

I did not spot Travis failures, so that would explain it

@cmonr
Copy link
Contributor

cmonr commented Feb 21, 2018

@0xc0170 Marked as needs: work because the PR is still not stable in Travis.

@theotherjimmy theotherjimmy force-pushed the fix-m33-fp branch 2 times, most recently from bc691c6 to 5dd00f3 Compare February 28, 2018 20:48
@theotherjimmy
Copy link
Contributor Author

theotherjimmy commented Feb 28, 2018

I think I got it this time. Nope, I'm still bad at typing.

cmonr
cmonr previously approved these changes Feb 28, 2018
elif target.core.startswith("Cortex-M33F"):
self.cpu = ["-mcpu=cortex-m33"]
elif target.core.startswith("Cortex-M33"):
self.cpu = ["-march=armv8-m.main"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. Why is this not the same as line 60?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's actually the bug this fixes. -mcpu=cortex-m33 turns on DSP and FP instructions, which are not required.

@cmonr
Copy link
Contributor

cmonr commented Feb 28, 2018

Still not stable in Travis. Assuming that rebuild is stable, will launch CI.

@theotherjimmy
Copy link
Contributor Author

@cmonr Travis build stabilized. Did I answer your question?

Copy link
Contributor

@cmonr cmonr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup!

@theotherjimmy
Copy link
Contributor Author

/morph build

@theotherjimmy
Copy link
Contributor Author

Dang it. Just remembered I should not have done this.

@cmonr
Copy link
Contributor

cmonr commented Mar 1, 2018

Stopped the build for now. Will restart once a window opens.

@mbed-ci
Copy link

mbed-ci commented Mar 1, 2018

Build : FAILURE

Build number : 1315
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6146/

@cmonr
Copy link
Contributor

cmonr commented Mar 5, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Mar 5, 2018

Build : SUCCESS

Build number : 1339
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6146/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Mar 5, 2018

@mbed-ci
Copy link

mbed-ci commented Mar 5, 2018

@cmonr cmonr merged commit b84627f into ARMmbed:master Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants