diff options
author | Chris Lattner <sabre@nondot.org> | 2005-07-30 00:17:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-07-30 00:17:52 +0000 |
commit | a35e1dfd12b9eaa440af68c760394bef9ac17335 (patch) | |
tree | 8ca1a68d97f3d6ee63b65fb8c0de47c64b67d088 /lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | 169974856781a1ce27af9ce6220c390b20c9e6dd (diff) |
Change the fp to integer code to not perform 2-byte stores followed by
1 byte loads and other operations. This is bad for store-forwarding on
common CPUs. We now do this:
fnstcw WORD PTR [%ESP]
mov %AX, WORD PTR [%ESP]
instead of:
fnstcw WORD PTR [%ESP]
mov %AL, BYTE PTR [%ESP + 1]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22559 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
0 files changed, 0 insertions, 0 deletions