Commit f51a38b9 by Richard Sandiford Committed by Richard Sandiford

read-rtl.c: Disable RTL checking.

	* read-rtl.c: Disable RTL checking.
	(apply_macro_to_rtx): Use XTMPL to access 'T' fields.

From-SVN: r86822
parent 34ebf755
2004-08-31 Richard Sandiford <rsandifo@redhat.com> 2004-08-31 Richard Sandiford <rsandifo@redhat.com>
* read-rtl.c: Disable RTL checking.
(apply_macro_to_rtx): Use XTMPL to access 'T' fields.
2004-08-31 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.md (fcond): New code macro and attribute. * config/mips/mips.md (fcond): New code macro and attribute.
(sunordered_[sd]f, suneq_[sd]f, sunlt_[sd]f, sunle_[sd]f) (sunordered_[sd]f, suneq_[sd]f, sunlt_[sd]f, sunle_[sd]f)
(seq_[sd]f, slt_[sd]f, sle_[sd]f): Redefine using :SCALARF and fcond. (seq_[sd]f, slt_[sd]f, sle_[sd]f): Redefine using :SCALARF and fcond.
......
...@@ -21,6 +21,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -21,6 +21,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */ 02111-1307, USA. */
#include "bconfig.h" #include "bconfig.h"
/* Disable rtl checking; it conflicts with the macro handling. */
#undef ENABLE_RTL_CHECKING
#include "system.h" #include "system.h"
#include "coretypes.h" #include "coretypes.h"
#include "tm.h" #include "tm.h"
...@@ -316,8 +320,11 @@ apply_macro_to_rtx (rtx original, struct mapping *macro, int value) ...@@ -316,8 +320,11 @@ apply_macro_to_rtx (rtx original, struct mapping *macro, int value)
for (i = 0; format_ptr[i] != 0; i++) for (i = 0; format_ptr[i] != 0; i++)
switch (format_ptr[i]) switch (format_ptr[i])
{ {
case 'S':
case 'T': case 'T':
XTMPL (x, i) = apply_macro_to_string (XTMPL (x, i), macro, value);
break;
case 'S':
case 's': case 's':
XSTR (x, i) = apply_macro_to_string (XSTR (x, i), macro, value); XSTR (x, i) = apply_macro_to_string (XSTR (x, i), macro, value);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment