summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-03-29 05:29:01 +0000
committerHal Finkel <hfinkel@anl.gov>2014-03-29 05:29:01 +0000
commit19be506a5efea9d4698c9f93d6e9d1475d2784a2 (patch)
tree0ac5062983bca9f0c55374da5bcd19f90a55dcc4 /llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
parentab57a1555acffbeddf98818007fb9dff0a56c619 (diff)
downloadbcm5719-llvm-19be506a5efea9d4698c9f93d6e9d1475d2784a2.tar.gz
bcm5719-llvm-19be506a5efea9d4698c9f93d6e9d1475d2784a2.zip
[PowerPC] Add subregister classes for f64 VSX values
We had stored both f64 values and v2f64, etc. values in the VSX registers. This worked, but was suboptimal because we would always spill 16-byte values even through we almost always had scalar 8-byte values. This resulted in an increase in stack-size use, extra memory bandwidth, etc. To fix this, I've added 64-bit subregisters of the Altivec registers, and combined those with the existing scalar floating-point registers to form a class of VSX scalar floating-point registers. The ABI code has also been enhanced to use this register class and some other necessary improvements have been made. llvm-svn: 205075
Diffstat (limited to 'llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud