Skip to content
Commit 2b274fd8 authored by Michael Hudson-Doyle's avatar Michael Hudson-Doyle
Browse files

Ensure calculations happen with desired rounding mode in y1lf128



math/test-float128-y1 fails on x86_64 and ppc64el with gcc 12 and -O3,
because code inside a block guarded by SET_RESTORE_ROUNDL is being moved
after the rounding mode has been restored. Use math_force_eval to
prevent this (and insert some math_opt_barrier calls to prevent code
from being moved before the rounding mode is set).

Fixes #29463

Reviewed-By: default avatarWilco Dijkstra <Wilco.Dijkstra@arm.com>
parent 1d782999
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment