diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-10 17:42:34 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-10 17:42:34 +0000 |
commit | de457896b67ab4b0b010edb6353a3e98ce66c7c1 (patch) | |
tree | 136a08c0b299c5c8db77c12e2874eea9dc06e5c2 /llvm/lib/CodeGen/Spiller.cpp | |
parent | c4b3bcc051da53fd1c149ceb3b9f2a08f1306bfe (diff) | |
download | bcm5719-llvm-de457896b67ab4b0b010edb6353a3e98ce66c7c1.tar.gz bcm5719-llvm-de457896b67ab4b0b010edb6353a3e98ce66c7c1.zip |
Don't emit st(0)/st(1) copies as FpMOV instructions. Use FpSET_ST? instead.
Based on a patch by Rafael EspĂndola.
Attempt to make the FpSET_ST1 hack more robust, but we are still relying on
FpSET_ST0 preceeding it. This is only for supporting really weird x87 inline
asm.
We support:
FpSET_ST0
INLINEASM
FpSET_ST0
FpSET_ST1
INLINEASM
with and without kills on the arguments. We don't support:
FpSET_ST1
FpSET_ST0
INLINEASM
nor
FpSET_ST1
INLINEASM
Just Don't Do It!
llvm-svn: 108047
Diffstat (limited to 'llvm/lib/CodeGen/Spiller.cpp')
0 files changed, 0 insertions, 0 deletions