Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/dev add STore with (plane) Mask instruction
details: https://anonhg.NetBSD.org/src/rev/946b88ecdf33
branches: trunk
changeset: 787158:946b88ecdf33
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Jun 04 22:30:30 2013 +0000
description:
add STore with (plane) Mask instruction
diffstat:
sys/arch/sparc/dev/sxreg.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 6b06a9fdd91c -r 946b88ecdf33 sys/arch/sparc/dev/sxreg.h
--- a/sys/arch/sparc/dev/sxreg.h Tue Jun 04 16:55:07 2013 +0000
+++ b/sys/arch/sparc/dev/sxreg.h Tue Jun 04 22:30:30 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sxreg.h,v 1.5 2013/05/30 20:09:23 macallan Exp $ */
+/* $NetBSD: sxreg.h,v 1.6 2013/06/04 22:30:30 macallan Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -152,6 +152,8 @@
SX_PACKED | (dreg << 7) | (o))
#define SX_ST(sreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_STORE | \
SX_LONG | (sreg << 7) | (o))
+#define SX_STM(sreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_STORE_MASK | \
+ SX_LONG | (sreg << 7) | (o))
#define SX_STB(sreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_STORE | \
SX_UBYTE_0 | (sreg << 7) | (o))
#define SX_STP(sreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_STORE | \
Home |
Main Index |
Thread Index |
Old Index