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 | aeef51b6b756ad669dbb59f81618396d8e722e56 (patch) | |
| tree | eaba6bf15749f563495f9eafa99ba86577085d25 /llvm/lib/Transforms/LevelRaise.cpp | |
| parent | e68bcd19465cac622df8745351fe1def4cd11de0 (diff) | |
| download | bcm5719-llvm-aeef51b6b756ad669dbb59f81618396d8e722e56.tar.gz bcm5719-llvm-aeef51b6b756ad669dbb59f81618396d8e722e56.zip | |
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]
llvm-svn: 22559
Diffstat (limited to 'llvm/lib/Transforms/LevelRaise.cpp')
0 files changed, 0 insertions, 0 deletions

