aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.cc
diff options
context:
space:
mode:
authorLulu Cheng <chenglulu@loongson.cn>2022-11-16 09:25:14 +0800
committerLulu Cheng <chenglulu@loongson.cn>2022-11-23 11:05:50 +0800
commit3138db588a46d445876c0358df55fa3995c6f221 (patch)
tree364ff091e86c314e8dc43f6029fbf615d711ba89 /gcc/gimple-array-bounds.cc
parent04711f5189a72c2fcaeed520d65582704adca042 (diff)
downloadgcc-3138db588a46d445876c0358df55fa3995c6f221.zip
gcc-3138db588a46d445876c0358df55fa3995c6f221.tar.gz
gcc-3138db588a46d445876c0358df55fa3995c6f221.tar.bz2
LoongArch: Add prefetch instructions.
Enable sw prefetching at -O3 and higher. Co-Authored-By: xujiahao <xujiahao@loongson.cn> gcc/ChangeLog: * config/loongarch/constraints.md (ZD): New constraint. * config/loongarch/loongarch-def.c: Initial number of parallel prefetch. * config/loongarch/loongarch-tune.h (struct loongarch_cache): Define number of parallel prefetch. * config/loongarch/loongarch.cc (loongarch_option_override_internal): Set up parameters to be used in prefetching algorithm. * config/loongarch/loongarch.md (prefetch): New template.
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions