aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorPaul Burton <[email protected]>2018-11-26 18:58:40 +0000
committerPaul Burton <[email protected]>2018-11-26 22:49:20 -0800
commit1aeba347b3a90a8b22f1c3eed0dcfba38bb8dbb8 (patch)
tree83491b85b7a0b5b81dd483fa2a58886c3f19bdce /scripts/gcc-plugins/sancov_plugin.c
parentf08153186ca5023c1672aa6417ee4fc748ac5901 (diff)
MIPS: Hardcode cpu_has_mips* where target ISA allows
In the same vein as commit 93e01942a6eb ("MIPS: Hardcode cpu_has_* where known at compile time due to ISA"), we can use our knowledge of the ISA being targeted by the kernel build to make cpu_has_mips* macros compile-time constant in some cases. This allows the compiler greater opportunity to optimize out code which will never execute. Signed-off-by: Paul Burton <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/21245/ Cc: [email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions