diff options
author | Sanjay Patel <spatel@rotateright.com> | 2014-09-30 20:28:48 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2014-09-30 20:28:48 +0000 |
commit | 8fde95cb2b547a98b55e13f005ca00b899c095fb (patch) | |
tree | ab61764af3435ad1b99aac48b5508cfb7b3bdbd9 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 916cca728fbc5b8458b30a59e06d72a11f691f65 (diff) | |
download | bcm5719-llvm-8fde95cb2b547a98b55e13f005ca00b899c095fb.tar.gz bcm5719-llvm-8fde95cb2b547a98b55e13f005ca00b899c095fb.zip |
Split the estimate() interface into separate functions for each type. NFC.
It was hacky to use an opcode as a switch because it won't always match
(rsqrte != sqrte), and it looks like we'll need to add more special casing
per arch than I had hoped for. Eg, x86 will prefer a different NR estimate
implementation. ARM will want to use it's 'step' instructions. There also
don't appear to be any new estimate instructions in any arch in a long,
long time. Altivec vloge and vexpte may have been the first and last in
that field...
llvm-svn: 218698
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
0 files changed, 0 insertions, 0 deletions