diff options
author | Lulu Cheng <chenglulu@loongson.cn> | 2023-10-23 09:07:32 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2023-10-23 09:26:43 +0800 |
commit | 5697ed0327f23d2e2ec4f7beec3b3d02f463173c (patch) | |
tree | 04137f9d1a1bb53e5972e67b898ea39ef6f09974 /libcpp | |
parent | f08ca5903c7a02b450b93143467f70b9fd8e0085 (diff) | |
download | gcc-5697ed0327f23d2e2ec4f7beec3b3d02f463173c.zip gcc-5697ed0327f23d2e2ec4f7beec3b3d02f463173c.tar.gz gcc-5697ed0327f23d2e2ec4f7beec3b3d02f463173c.tar.bz2 |
LoongArch: Define macro CLEAR_INSN_CACHE.
LoongArch's microstructure ensures cache consistency by hardware.
Due to out-of-order execution, "ibar" is required to ensure the visibility of the
store (invalidated icache) executed by this CPU before "ibar" (to the instance).
"ibar" will not invalidate the icache, so the start and end parameters are not Affect
"ibar" performance.
gcc/ChangeLog:
* config/loongarch/loongarch.h (CLEAR_INSN_CACHE): New definition.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions