Tested as described in the covering note.  I plan to commit this as obvious
if the prerequisites are approved.

gcc/
        * config/c6x/c6x (enabled): Turn into a code,alternative attribute.

diff --git a/gcc/config/c6x/c6x.md b/gcc/config/c6x/c6x.md
index fa89587..8297514 100644
--- a/gcc/config/c6x/c6x.md
+++ b/gcc/config/c6x/c6x.md
@@ -216,7 +216,8 @@
   (const_string "yes"))
 
 (define_attr "enabled" "no,yes"
-  (const_string "yes"))
+  (const_string "yes")
+  "code,alternative")
 
 ;; Specify which units can be used by a given instruction.  Normally,
 ;; dest_regfile is used to select between the two halves of the machine.

Reply via email to