I'm seeing translated x86_64 code compute wrong floating-point results under Rosetta 2, with no fault raised. Filed as FB25702862. Posting here in case others hit it, and to ask whether anyone can check other macOS versions. Environment: macOS 27.2.1 (26B131), Apple M4 Max, Apple clang 21.0.0. Reproduce // clang -arch x86_64 -O1 -o repro repro.c && ./repro #include #include __attribute__((noinline)) static double f(float a, double v) { double d = a; // cvtss2sd xmm, xmm double r = (double)sqrtl((long double)v); // x87: fld / fsqrt / fstp return r - d; // subsd reads d } int main(void) { volatile float a = 24.0f; volatile double v = 7.9466; printf(got %.17gn, f(a, v)); printf(expected %.17gn, sqrt(v) - 24.0); return 0; }Output under Rosetta: got 2.8189714436297506 expected -21.181028556370251Built with -arch arm64 it prints the expected value. -O1, -O2 and -Os all fail the same way. What triggers it Three things in one basic block: A scalar conversion with a register source, such as