diff options
author | James Y Knight <jyknight@google.com> | 2016-04-25 22:54:09 +0000 |
---|---|---|
committer | James Y Knight <jyknight@google.com> | 2016-04-25 22:54:09 +0000 |
commit | 51208eaccc82f7dd4783383141d61f81d6a9c07b (patch) | |
tree | 36ab1e2e9e1be45b08b9ac439842a8077431a467 /lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py | |
parent | cbba0aba162fafaf25cbc0f6cccaf88012cb0728 (diff) | |
download | bcm5719-llvm-51208eaccc82f7dd4783383141d61f81d6a9c07b.tar.gz bcm5719-llvm-51208eaccc82f7dd4783383141d61f81d6a9c07b.zip |
[Sparc] Fix double-float fabs and fneg on little endian CPUs.
The SparcV8 fneg and fabs instructions interestingly come only in a
single-float variant. Since the sign bit is always the topmost bit no
matter what size float it is, you simply operate on the high
subregister, as if it were a single float.
However, the layout of double-floats in the float registers is reversed
on little-endian CPUs, so that the high bits are in the second
subregister, rather than the first.
Thus, this expansion must check the endianness to use the correct
subregister.
llvm-svn: 267489
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py')
0 files changed, 0 insertions, 0 deletions