You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code passes a floating-point value using the wrong ABI:
use std::arch::x86::*;// This function expects a in xmm0#[target_feature(enable = "sse2")]unsafefnsse2(a:f64) -> __m128d{_mm_set1_pd(a)}pubunsafefnnon_sse2(a:f64) -> __m128d{// This passes a on the stacksse2(a)}
Godbolt link
The following code passes a floating-point value using the wrong ABI:
Assembly output:
The text was updated successfully, but these errors were encountered: