Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/include Add cmp{ptr, long, reg}{, l}{, i}



details:   https://anonhg.NetBSD.org/src/rev/c4323d87a2b0
branches:  trunk
changeset: 327131:c4323d87a2b0
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Feb 28 05:26:23 2014 +0000

description:
Add cmp{ptr,long,reg}{,l}{,i}

diffstat:

 sys/arch/powerpc/include/asm.h |  28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 3e21e54d5a94 -r c4323d87a2b0 sys/arch/powerpc/include/asm.h
--- a/sys/arch/powerpc/include/asm.h    Thu Feb 27 22:57:36 2014 +0000
+++ b/sys/arch/powerpc/include/asm.h    Fri Feb 28 05:26:23 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.44 2014/02/27 18:12:28 matt Exp $    */
+/*     $NetBSD: asm.h,v 1.45 2014/02/28 05:26:23 matt Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -348,6 +348,19 @@
 # define clrrlongi     clrrwi  /* clear right "C" long immediate */
 # define clrrregi      clrrwi  /* clear right PPC general register immediate */
 
+# define cmpptr                cmpw
+# define cmplong       cmpw
+# define cmpreg                cmpw
+# define cmpptri       cmpwi
+# define cmplongi      cmpwi
+# define cmpregi       cmpwi
+# define cmpptrl       cmpwl
+# define cmplongl      cmpwl
+# define cmpregl       cmpwl
+# define cmpptrli      cmpwli
+# define cmplongli     cmpwli
+# define cmpregli      cmpwli
+
 #else /* __LP64__ */
 
 # define ldlong                ld      /* load "C" long */
@@ -380,6 +393,19 @@
 # define clrrlongi     clrrdi  /* clear right "C" long immediate */
 # define clrrregi      clrrdi  /* clear right PPC general register immediate */
 
+# define cmpptr                cmpd
+# define cmplong       cmpd
+# define cmpreg                cmpd
+# define cmpptri       cmpdi
+# define cmplongi      cmpdi
+# define cmpregi       cmpdi
+# define cmpptrl       cmpdl
+# define cmplongl      cmpdl
+# define cmpregl       cmpdl
+# define cmpptrli      cmpdli
+# define cmplongli     cmpdli
+# define cmpregli      cmpdli
+
 #endif /* __LP64__ */
 
 #ifdef _LOCORE



Home | Main Index | Thread Index | Old Index