summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2010-05-25 20:52:34 +0000
committerKevin Enderby <enderby@apple.com>2010-05-25 20:52:34 +0000
commit492d4f409a05a3a2103d57f02fb4b82c749e7db3 (patch)
treee075b471c1620f19e1ab2d2f57020bea4e864180 /llvm/lib/CodeGen
parentf5bcc6a285fdf8c510c20742266f75d05e480d7f (diff)
downloadbcm5719-llvm-492d4f409a05a3a2103d57f02fb4b82c749e7db3.tar.gz
bcm5719-llvm-492d4f409a05a3a2103d57f02fb4b82c749e7db3.zip
Changed the encoding of X86 floating point stack operations where both operands
are st(0). These can be encoded using an opcode for storing in st(0) or using an opcode for storing in st(i), where i can also be 0. To allow testing with the darwin assembler and get a matching binary the opcode for storing in st(0) is now used. To do this the same logical trick is use from the darwin assembler in converting things like this: fmul %st(0), %st into this: fmul %st(0) by looking for the second operand being X86::ST0 for specific floating point mnemonics then removing the second X86::ST0 operand. This also has the add benefit to allow things like: fmul %st(1), %st that llvm-mc did not assemble. llvm-svn: 104634
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud