Redesign intrinsic-test to use simple comparison#2063
Redesign intrinsic-test to use simple comparison#2063sayantn wants to merge 5 commits intorust-lang:mainfrom
intrinsic-test to use simple comparison#2063Conversation
fc52b8d to
feb1dcd
Compare
This seems weird ( unsafe extern "C" {
fn vdup_n_f16_wrapper(value: f16) -> float16x4_t;
}In fact most Edit: To work around this issue I have modified the tool to communicate with C via pointers (e.g. the C wrapper for |
53fa987 to
e2346ff
Compare
|
Btw the time gains are significant, it reduces the Arm and aarch64 times to 2-3 minutes, and the full x86 run (we did 20% previously) to around 12 mins for release and 17 mins for dev |
Currently
intrinsic-testprints the outputs and then compares the outputs manually. This PR uses a different approach -- generate C wrappers for the intrinsics, link to them from Rust, and then just use simple rust tests to compare outputs