aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2023-06-06 14:53:36 +0800
committerYunQiang Su <yunqiang.su@cipunited.com>2023-06-16 17:23:29 +0800
commit6586422105eeda80f9129f97024ae46fd9da4bc5 (patch)
treeabba1e8860926a74af436f141b96322b62007d39 /libgomp
parent827e208fa64771f15fc8e53970a2297e637277b5 (diff)
downloadgcc-6586422105eeda80f9129f97024ae46fd9da4bc5.zip
gcc-6586422105eeda80f9129f97024ae46fd9da4bc5.tar.gz
gcc-6586422105eeda80f9129f97024ae46fd9da4bc5.tar.bz2
MIPS16: Implement `code_readable` function attribute.
Support for __attribute__ ((code_readable)). Takes up to one argument of "yes", "no", "pcrel". This will change the code readability setting for just that function. If no argument is supplied, then the setting is 'yes'. gcc/ChangeLog: * config/mips/mips.cc (enum mips_code_readable_setting):New enmu. (mips_handle_code_readable_attr):New static function. (mips_get_code_readable_attr):New static enum function. (mips_set_current_function):Set the code_readable mode. (mips_option_override):Same as above. * doc/extend.texi:Document code_readable. gcc/testsuite/ChangeLog: * gcc.target/mips/code-readable-attr-1.c: New test. * gcc.target/mips/code-readable-attr-2.c: New test. * gcc.target/mips/code-readable-attr-3.c: New test. * gcc.target/mips/code-readable-attr-4.c: New test. * gcc.target/mips/code-readable-attr-5.c: New test.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions