summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcTargetMachine.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-02 21:49:05 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-08-02 21:49:05 +0000
commit7dc3b726851866179f147262363cc14ead70abd3 (patch)
tree0bcad538c40e58d0344f00eb2816efd79598c2f0 /llvm/lib/Target/Sparc/SparcTargetMachine.cpp
parent59a9468b226569874514687d99a57676309b570c (diff)
downloadbcm5719-llvm-7dc3b726851866179f147262363cc14ead70abd3.tar.gz
bcm5719-llvm-7dc3b726851866179f147262363cc14ead70abd3.zip
Remove unneeded intrinsics from Blackfin backend.
__builtin_bfin_ones does the same as ctpop, so it can be implemented in the front-end. __builtin_bfin_loadbytes loads from an unaligned pointer with the disalignexcpt instruction. It does the same as loading from a pointer with the low bits masked. It is better if the front-end creates a masked load. We can always instruction select the masked to disalignexcpt+load. We keep csync/ssync/idle. These intrinsics represent instructions that need workarounds for some silicon revisions. We may even want to convert inline assembler to intrinsics to enable the workarounds. llvm-svn: 77917
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud