Commit Graph

9 Commits

Author SHA1 Message Date
Alex Crichton 9a440a3eb0 Fix i586 tests 2017-10-11 17:33:41 -07:00
Alex Crichton 9da400965f Attempt to fix CI (#108)
Need to bring codegen units back to only one for now
2017-10-11 11:28:02 -04:00
Alex Crichton 7055f496c7 Add an i586 builder (#101)
The i586 targets on x86 are defined to be 32-bit and lacking in sse/sse2 unlike
the i686 target which has sse2 turned on by default. I was mostly curious what
would happen when turning on this target, and it turns out quite a few tests
failed!

Most of the tests here had to do with calling functions with ABI mismatches
where the callee wasn't `#[inline(always)]`. Various pieces have been updated
now and we should be passing all tests.

Only one instruction assertion ended up changing where the function generates a
different instruction with sse2 ambiently enabled and without it enabled.
2017-10-06 22:54:18 +00:00
Alex Crichton b44d388d88 Add aarch64 docs 2017-09-25 13:38:12 -07:00
Alex Crichton d978ac4c81 Write some short crate docs 2017-09-25 13:36:32 -07:00
Alex Crichton a5d562faba No need to debug so much 2017-09-25 13:17:41 -07:00
Alex Crichton f17ac643a1 Tweak dox script 2017-09-25 13:15:32 -07:00
Alex Crichton 63b5c09168 Add documentation generation 2017-09-25 13:13:01 -07:00
Alex Crichton 5a8887b0c0 Add CI for more platforms
This commit adds CI for a few more targets:

* i686-unknown-linux-gnu
* arm-unknown-linux-gnueabihf
* armv7-unknown-linux-gnueabihf
* aarch64-unknown-linux-gnu

The CI here is structured around using a Docker container to set up a test
environment and then QEMU is used to actually execute code from these platforms.
QEMU's emulation actually makes it so we can continue to just use `cargo test`,
as processes can be spawned from QEMU like `objdump` and files can be read (for
libbacktrace). Ends up being a relatively seamless experience!

Note that a number of intrinsics were disabled on i686 because they were failing
tests, and otherwise a few ARM touch-ups were made to get tests passing.
2017-09-21 12:35:46 -07:00