aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/objc-act.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2019-05-17 23:33:13 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2019-05-17 23:33:13 +0200
commitd78ba51841e429173f7a9eaa20006c04ceced29c (patch)
tree391d537b4417edfbcaf811ecad861dd5f25213d2 /gcc/objc/objc-act.c
parent6b5777c6c7059b6b8e372e567a74bdccb59a02c3 (diff)
downloadgcc-d78ba51841e429173f7a9eaa20006c04ceced29c.zip
gcc-d78ba51841e429173f7a9eaa20006c04ceced29c.tar.gz
gcc-d78ba51841e429173f7a9eaa20006c04ceced29c.tar.bz2
rs6000: Add "enabled" attribute
This adds the "enabled" attribute to the rs6000 backend. It uses the (new) "isa" attribute to automatically select which instruction alternatives should be enabled. For now it allows isa strings of "p5", "p6", "p7", meaning the instructions introduced on that CPU, not requiring vectors; and "p7v", "p8v", "p9v" for the same, but with vectors. These are currently mapped to TARGET_POPCNTB, TARGET_CMPB, TARGET_POPCNTD, TARGET_VSX, TARGET_P8_VECTOR, and TARGET_P9_VECTOR; that will change to something a bit saner later. * config/rs6000/rs6000.md (isa): New attribute. (enabled): New attribute. From-SVN: r271360
Diffstat (limited to 'gcc/objc/objc-act.c')
0 files changed, 0 insertions, 0 deletions