OSDN Git Service

(ucim.m, ucr.m, uc.m): New.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Jul 1995 13:11:11 +0000 (13:11 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Jul 1995 13:11:11 +0000 (13:11 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10193 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/1750a/ms1750.inc

index 1c4370c..da2f5a5 100644 (file)
@@ -71,3 +71,44 @@ TWO  SET  `2` + 1
        NR    R`ONE`,R`TWO`
      ENDMACRO
 
+; Unsigned Compare Immediate
+
+     MACRO UCIM.M
+LAST   SET   `1` + 3
+       PSHM  R`1`,R`LAST`
+LO     SET   `1` + 1
+       LR    R`LO`,R`1`
+       XORR  R`1`,R`1`
+HI     SET   `1` + 2
+       XORR  R`HI`,R`HI`
+       LIM   R`LAST`,`2`
+       DCR   R`1`,R`HI`
+       POPM  R`1`,R`LAST`
+     ENDMACRO
+
+
+; Unsigned Compare Register with register
+
+     MACRO UCR.M
+       PSHM  R10,R13    ; R12 and R13 are assumed not to be input parameters
+       LR    R13,R`2`
+       LR    R11,R`1`
+       XORR  R12,R12
+       XORR  R10,R10
+       DCR   R10,R12
+       POPM  R10,R13
+     ENDMACRO
+
+
+; Unsigned Compare register with memory
+
+     MACRO UC.M
+       PSHM  R10,R13
+       L     R13,`2`
+       LR    R11,R`1`
+       XORR  R12,R12
+       XORR  R10,R10
+       DCR   R10,R12
+       POPM  R10,R13
+     ENDMACRO
+