aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-04-23 22:47:57 +0000
committerHal Finkel <hfinkel@anl.gov>2015-04-23 22:47:57 +0000
commitfefcfffe68ac76b5c425b640a59ae0f4e24b5a20 (patch)
treee214b7012b89ad76fd131fbcb37aea03155110e6 /clang/lib/CodeGen/CodeGenFunction.cpp
parent20ae2a311f5fd71924ff286a0dae754fae4b0fcd (diff)
downloadllvm-fefcfffe68ac76b5c425b640a59ae0f4e24b5a20.zip
llvm-fefcfffe68ac76b5c425b640a59ae0f4e24b5a20.tar.gz
llvm-fefcfffe68ac76b5c425b640a59ae0f4e24b5a20.tar.bz2
[PowerPC] Add asm/disasm support for dcbt with hint
Add assembler/disassembler support for dcbt/dcbtst (and aliases) with the hint field specified (non-zero). Unforunately, the syntax for this instruction is special in that it differs for server vs. embedded cores: dcbt ra, rb, th [server] dcbt th, ra, rb [embedded] where th can be omitted when it is 0. dcbtst is the same. Thus we need to play games in the parser and the printer to flip the operands around on the embedded cores. We'll use the server syntax as the default (binutils currently uses the embedded form by default, but IBM is changing that). We also stop marking dcbtst as having unmodeled side effects (this is not necessary, it is just a hint like dcbt -- noticed by inspection, so no separate test case). llvm-svn: 235657
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions