aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/tree.cc
diff options
context:
space:
mode:
authorHaochen Jiang <haochen.jiang@intel.com>2024-07-22 14:06:18 +0800
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:46 +0200
commit150f5707ca5506917504631d60cd0b060019a778 (patch)
tree9aafa3ecefee4f291b906216fec3fe8e04d23414 /gcc/cp/tree.cc
parentaa6cfa75bcdd8637f270d1a91ae8ee382e4bf0b8 (diff)
downloadgcc-150f5707ca5506917504631d60cd0b060019a778.zip
gcc-150f5707ca5506917504631d60cd0b060019a778.tar.gz
gcc-150f5707ca5506917504631d60cd0b060019a778.tar.bz2
i386: Change prefetchi output template
For prefetchi instructions, RIP-relative address is explicitly mentioned for operand and assembler obeys that rule strictly. This makes instruction like: prefetchit0 bar got illegal for assembler, which should be a broad usage for prefetchi. Change to %a to explicitly add (%rip) after function label to make it legal in assembler so that it could pass to linker to get the real address. gcc/ChangeLog: * config/i386/i386.md (prefetchi): Change to %a. gcc/testsuite/ChangeLog: * gcc.target/i386/prefetchi-1.c: Check (%rip).
Diffstat (limited to 'gcc/cp/tree.cc')
0 files changed, 0 insertions, 0 deletions