This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PR68432 11/22] Use code,alternative attributes for c6x
- From: Richard Sandiford <richard dot sandiford at arm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 Nov 2015 12:31:08 +0000
- Subject: [PR68432 11/22] Use code,alternative attributes for c6x
- Authentication-results: sourceware.org; auth=none
- References: <874mgajmo9 dot fsf at e105548-lin dot cambridge dot arm dot com>
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.