aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2007-12-18 16:46:16 +0000
committerDavid Daney <daney@gcc.gnu.org>2007-12-18 16:46:16 +0000
commit4d0f690c5daed0f448979e4de55d3150d8a4f2ad (patch)
tree6d085edc605ee21f1e9de4f4c5ec58d565d92cfc /gcc
parent86636093d479670acc5c5758eea3ff3b534ca541 (diff)
downloadgcc-4d0f690c5daed0f448979e4de55d3150d8a4f2ad.zip
gcc-4d0f690c5daed0f448979e4de55d3150d8a4f2ad.tar.gz
gcc-4d0f690c5daed0f448979e4de55d3150d8a4f2ad.tar.bz2
mips.md (clear_hazard): Use PRINT_OPERAND punctuation instead of .set push and .set pop.
2007-12-18 David Daney <ddaney@avtrex.com> * config/mips/mips.md (clear_hazard): Use PRINT_OPERAND punctuation instead of .set push and .set pop. From-SVN: r131038
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.md8
2 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 56d1305..d799e02 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-18 David Daney <ddaney@avtrex.com>
+
+ * config/mips/mips.md (clear_hazard): Use PRINT_OPERAND punctuation
+ instead of .set push and .set pop.
+
2007-12-18 Rask Ingemann Lambertsen <rask@sygehus.dk>
PR target/33474
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index f1225f61..b4177ff 100644
--- a/gcc/config/mips/mips.md
+++ b/gcc/config/mips/mips.md
@@ -4398,15 +4398,11 @@
(clobber (reg:SI 31))]
"ISA_HAS_SYNCI"
{
- return ".set\tpush\n"
- "\t.set\tnoreorder\n"
- "\t.set\tnomacro\n"
- "\tbal\t1f\n"
+ return "%(%<bal\t1f\n"
"\tnop\n"
"1:\taddiu\t$31,$31,12\n"
"\tjr.hb\t$31\n"
- "\tnop\n"
- "\t.set\tpop";
+ "\tnop%>%)";
}
[(set_attr "length" "20")])