aboutsummaryrefslogtreecommitdiff
path: root/projects/Stacker/lib/compiler/StackerCompiler.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-25 00:26:22 +0000
committerChris Lattner <sabre@nondot.org>2005-08-25 00:26:22 +0000
commitfdf8366ecc67b2f3ac21c3b9155c1bc2e9d3dad4 (patch)
treebfa2e5daa7c9f4ccf7a7b798f998af980149a419 /projects/Stacker/lib/compiler/StackerCompiler.cpp
parented7956bfe4bbe9445cbf0a74299f714ffe4fd7a4 (diff)
LFS/STFS load and store FP values, not integer ones. This change allows us
to codegen this: float foo() { return 1.245; } into this: _foo: lis r2, ha16(.CPI_foo_0) lfs f1, lo16(.CPI_foo_0)(r2) blr instead of this: _foo: lis r2, ha16(.CPI_foo_0) lfs r2, lo16(.CPI_foo_0)(r2) <-- ouch or f1, r2, r2 <-- ouch blr with the dag isel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/Stacker/lib/compiler/StackerCompiler.cpp')
0 files changed, 0 insertions, 0 deletions