ableC icon indicating copy to clipboard operation
ableC copied to clipboard

Builtin definitions

Open remexre opened this issue 8 years ago • 2 comments

/usr/include/x86_64-linux-gnu/bits/byteswap.h wants the __builtin_bswap32 and __builtin_bswap64 builtins to be defined if we're on a recent-ish version of GCC. Because we invoke cpp without passing any flags to tell it otherwise, we appear to be on GCC 5.4.1 (according to echo | cpp -dM | grep GNUC).

We should define these builtins.

remexre avatar Aug 07 '17 19:08 remexre

We had support for this at one time, but took it out for performance reasons. You should be able to pull this back in from the history in the ableC repo, and just comment out all the ones we aren't using.

On Aug 7, 2017 2:59 PM, "Nathaniel Ringo" [email protected] wrote:

/usr/include/x86_64-linux-gnu/bits/byteswap.h wants the __builtin_bswap32 and __builtin_bswap64 builtins to be defined if we're on a recent-ish version of GCC. Because we invoke cpp without passing any flags to tell it otherwise, we appear to be on GCC 5.4.1 (according to echo | cpp -dM | grep GNUC).

We should define these builtins.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/melt-umn/ableC/issues/59, or mute the thread https://github.com/notifications/unsubscribe-auth/AIE1ikGwvsZBoOUzuLWagmWaQiTLVjUoks5sV2ykgaJpZM4Ov4Oo .

krame505 avatar Aug 07 '17 22:08 krame505

This will get resolved when 66f3c04e73a8a795d42d272de29dc11b4905dcaf..7adfecd47ff702d9129c2028984f900cd9902679 are merged; those are in #193 right now (because they're also something Dawn needed), but will can be split out if someone else needs it sooner.

remexre avatar Apr 28 '22 04:04 remexre