diff options
author | Daniel Cederman <cederman@gaisler.com> | 2024-01-15 15:53:45 +0100 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-01-18 08:27:44 -0300 |
commit | 82a35070ec35616074343b8c4ffe6b1cff7e2793 (patch) | |
tree | 652eb6108868dbca0c1156b1ed40a15046f55ca8 /posix/PTESTS | |
parent | 3bb1350c3681c5ca330dd92500dc59fba94b37eb (diff) | |
download | glibc-82a35070ec35616074343b8c4ffe6b1cff7e2793.tar.gz glibc-82a35070ec35616074343b8c4ffe6b1cff7e2793.tar.xz glibc-82a35070ec35616074343b8c4ffe6b1cff7e2793.zip |
sparc: Prevent stfsr from directly following floating-point instruction
On LEON, if the stfsr instruction is immediately following a floating-point operation instruction in a running program, with no other instruction in between the two, the stfsr might behave as if the order was reversed between the two instructions and the stfsr occurred before the floating-point operation. Add a nop instruction before the stfsr to prevent this from happening. Signed-off-by: Daniel Cederman <cederman@gaisler.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'posix/PTESTS')
0 files changed, 0 insertions, 0 deletions