OSDN Git Service

*** empty log message ***
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Apr 1992 04:53:48 +0000 (04:53 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Apr 1992 04:53:48 +0000 (04:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@708 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/sparc/sparc.h
gcc/sched.c

index b997b4a..10f7b0e 100644 (file)
@@ -1378,6 +1378,15 @@ extern struct rtx_def *legitimize_pic_address ();
  "%f16", "%f17", "%f18", "%f19", "%f20", "%f21", "%f22", "%f23",       \
  "%f24", "%f25", "%f26", "%f27", "%f28", "%f29", "%f30", "%f31"}
 
+/* Define additional names for use in asm clobbers and asm declarations.
+
+   We define the fake Condition Code register as an alias for reg 0 (which
+   is our `condition code' register), so that condition codes can easily
+   be clobbered by an asm.  No such register actually exists.  Condition
+   codes are partly stored in the PSR and partly in the FSR.  */
+
+#define ADDITIONAL_REGISTER_NAMES      {"ccr", 0}
+
 /* How to renumber registers for dbx and gdb.  */
 
 #define DBX_REGISTER_NUMBER(REGNO) (REGNO)
index 0c3d6aa..93e6a07 100644 (file)
@@ -1217,10 +1217,9 @@ sched_analyze_2 (x, insn)
        rtx link;
 
        /* User of CC0 depends on immediately preceding insn.
-          All notes are removed from the list of insns to schedule before we
-          reach here, so the previous insn must be the setter of cc0.  */
-       if (GET_CODE (PREV_INSN (insn)) != INSN)
-         abort ();
+          There may be a note before this insn now, but all notes will
+          be removed before we actually try to schedule the insns, so
+          it doesn't matter.  */
        SCHED_GROUP_P (insn) = 1;
 
        /* Make a copy of all dependencies on PREV_INSN, and add to this insn.