diff mbox

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

Message ID 87poyygt0z.fsf@e105548-lin.cambridge.arm.com
State New
Headers show

Commit Message

Richard Sandiford Nov. 25, 2015, 12:31 p.m. UTC
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 mbox

Patch

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.