Find a file
Alex Crichton 07ebce51b8
Assert intrinsic implementations are inlined properly (#261)
* assert_instr check for failed inlining

* Fix `call` instructions showing up in some intrinsics

The ABI of types like `u8x8` as they're defined isn't actually the underlying
type we need for LLVM, but only `__m64` currently satisfies that. Apparently
this (and the casts involved) caused some extraneous instructions for a number
of intrinsics. They've all moved over to the `__m64` type now to ensure that
they're what the underlying interface is.

* Allow PIC-relative `call` instructions on x86

These should be harmless when evaluating whether we failed inlining
2018-01-03 16:37:45 -06:00
library/stdarch Assert intrinsic implementations are inlined properly (#261) 2018-01-03 16:37:45 -06:00