diff options
author | Scott Michel <scottm@aero.org> | 2008-12-04 03:02:42 +0000 |
---|---|---|
committer | Scott Michel <scottm@aero.org> | 2008-12-04 03:02:42 +0000 |
commit | 40f54d2257ae9eb8d59d747fcb065e65e51151d2 (patch) | |
tree | 370e981634154913ec11d06ffd90b4723910547b /llvm/lib/Target/PowerPC/PPCSubtarget.cpp | |
parent | 44f57df2544f1294df9a197368fba9d833504add (diff) | |
download | bcm5719-llvm-40f54d2257ae9eb8d59d747fcb065e65e51151d2.tar.gz bcm5719-llvm-40f54d2257ae9eb8d59d747fcb065e65e51151d2.zip |
CellSPU:
- First patch from Nehal Desai, a new contributor at Aerospace. Nehal's patch
fixes sign/zero/any-extending loads for integers and floating point. Example
code, compiled w/o debugging or optimization where he first noticed the bug:
int main(void) {
float a = 99.0;
printf("%d\n", a);
return 0;
}
Verified that this code actually works on a Cell SPU.
Changes by Scott Michel:
- Fix bug in the value type list constructed by SPUISD::LDRESULT to include
both the load result's result and chain, not just the chain alone.
- Simplify LowerLOAD and remove extraneous and unnecessary chains.
- Remove unused SPUISD pseudo instructions.
llvm-svn: 60526
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.cpp')
0 files changed, 0 insertions, 0 deletions