aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-io.h
diff options
context:
space:
mode:
authorHaochen Gui <guihaoc@gcc.gnu.org>2023-12-27 10:32:21 +0800
committerHaochen Gui <guihaoc@gcc.gnu.org>2023-12-27 10:35:14 +0800
commitd92d26ff366c5ceb4795d1ad678847c1b3d88e63 (patch)
treef1ad49ad5563e37f1c2632036b68e04fe05a12d2 /gcc/gcov-io.h
parentdaea7777cee46549b8a43624f32ec66b4e783f3f (diff)
downloadgcc-d92d26ff366c5ceb4795d1ad678847c1b3d88e63.zip
gcc-d92d26ff366c5ceb4795d1ad678847c1b3d88e63.tar.gz
gcc-d92d26ff366c5ceb4795d1ad678847c1b3d88e63.tar.bz2
rs6000: Clean up the pre-checkings of expand_block_compare
Remove P7 CPU test as only P7 above can enter this function and P7 LE is excluded by the checking of targetm.slow_unaligned_access on word_mode. Also performance test shows the expand of block compare is better than library on P7 BE when the length is from 16 bytes to 64 bytes. gcc/ * config/rs6000/rs6000-string.cc (expand_block_compare): Assert only P7 above can enter this function. Remove P7 CPU test and let P7 BE do the expand. gcc/testsuite/ * gcc.target/powerpc/block-cmp-4.c: New.
Diffstat (limited to 'gcc/gcov-io.h')
0 files changed, 0 insertions, 0 deletions