This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PR68432 11/22] Use code,alternative attributes for c6x


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]