public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [M68K] Use match_test rather than eq/ne symbol_ref
@ 2011-09-13 17:59 Richard Sandiford
  2011-09-13 18:04 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Sandiford @ 2011-09-13 17:59 UTC (permalink / raw)
  To: gcc-patches; +Cc: law, schwab

As per the subject.  Tested by making sure that there were no new
warnings building m68k-linux-gnu, and that there were no changes
in the assembly output for the C and C++ testsuite.  OK to install?

Richard


gcc/
	* config/m68k/m68k.md: Use match_test rather than eq/ne symbol_ref
	throughout file.

Index: gcc/config/m68k/m68k.md
===================================================================
--- gcc/config/m68k/m68k.md	2011-09-13 18:43:39.000000000 +0100
+++ gcc/config/m68k/m68k.md	2011-09-13 18:54:58.000000000 +0100
@@ -250,7 +250,7 @@ (define_attr "ok_for_coldfire" "yes,no"
 
 ;; Define 'enabled' attribute.
 (define_attr "enabled" ""
-  (cond [(and (ne (symbol_ref "TARGET_COLDFIRE") (const_int 0))
+  (cond [(and (match_test "TARGET_COLDFIRE")
 	      (eq_attr "ok_for_coldfire" "no"))
 	 (const_int 0)]
  	(const_int 1)))

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [M68K] Use match_test rather than eq/ne symbol_ref
  2011-09-13 17:59 [M68K] Use match_test rather than eq/ne symbol_ref Richard Sandiford
@ 2011-09-13 18:04 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2011-09-13 18:04 UTC (permalink / raw)
  To: gcc-patches, schwab, rdsandiford

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/13/11 11:56, Richard Sandiford wrote:
> As per the subject.  Tested by making sure that there were no new 
> warnings building m68k-linux-gnu, and that there were no changes in
> the assembly output for the C and C++ testsuite.  OK to install?
> 
> Richard
> 
> 
> gcc/ * config/m68k/m68k.md: Use match_test rather than eq/ne
> symbol_ref throughout file.
OK.
jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOb5qbAAoJEBRtltQi2kC7fzcH/3ah704wERsynmmjWawUzkdj
uGRqSdhQ5LLwcn+Jt/+sMP1kEHWG/GoWOsSQI5baaJ9DWPkli7JZ7nrL8iOYv75R
PAfBPIcSICGFLRKJmRWV+ETYDYVe6beI+bqpogXJhUZQ3sYgk5qAhF0kfPWwlz3+
2dVBbeasyQ5XT/5Z0YUq4q9vsZpWKlCFU+rpJER7IDdaJ3oQ06/Z0GOxkSjQdYjw
NLYxa66m3El5tFIOGK4lIL93ja1c1bsSygNPU4781GdgbgbNaosPp2KSjP0ihmWt
2TeEURwbwVHk291tQcyyR+1QwP+VbXRxpFeN3wRw7XjlI6ZiOy5ZntQuRQpsDis=
=Q8dC
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-13 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-13 17:59 [M68K] Use match_test rather than eq/ne symbol_ref Richard Sandiford
2011-09-13 18:04 ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).