diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2021-11-08 13:41:46 -0600 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2021-11-10 08:19:58 -0600 |
commit | 5840f7197d058371c01fd7ac9ad932a3ab2ced6a (patch) | |
tree | f8a2fffbeca7484e838da6c759b7628452e3d10f /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp | |
parent | ba2ac9c97c0c1f497d5bf7895163819d158219e5 (diff) | |
download | llvm-5840f7197d058371c01fd7ac9ad932a3ab2ced6a.zip llvm-5840f7197d058371c01fd7ac9ad932a3ab2ced6a.tar.gz llvm-5840f7197d058371c01fd7ac9ad932a3ab2ced6a.tar.bz2 |
[PowerPC] Respect rounding mode in the back end
Currently, the floating point instructions that depend on
rounding mode are correctly marked in the PPC back end with
an implicit use of the RM register. Similarly, instructions
that explicitly define the register are marked with an
implicit def of the same register. So for the most part,
RM-using code won't be moved across RM-setting instructions.
However, calls are not marked as RM-setting instructions so
code can be moved across calls. This is generally desired,
but so is the ability to turn off this behaviour with an
appropriate option - and -frounding-math really should be
that option.
This patch provides a set of call instructions (for direct
and indirect calls) that are marked with an implicit def of
the RM register. These will be used for calls that are marked
with the strictfp attribute.
Differential revision: https://reviews.llvm.org/D111433
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions