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 SX_STBM ( STore Byte Masked ) instruc...
details: https://anonhg.NetBSD.org/src/rev/3fce7caaee85
branches: trunk
changeset: 350576:3fce7caaee85
user: macallan <macallan%NetBSD.org@localhost>
date: Fri Jan 13 21:49:46 2017 +0000
description:
add SX_STBM ( STore Byte Masked ) instruction
diffstat:
sys/arch/sparc/dev/sxreg.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r bb11cd1af4d4 -r 3fce7caaee85 sys/arch/sparc/dev/sxreg.h
--- a/sys/arch/sparc/dev/sxreg.h Fri Jan 13 21:30:39 2017 +0000
+++ b/sys/arch/sparc/dev/sxreg.h Fri Jan 13 21:49:46 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sxreg.h,v 1.12 2016/04/30 05:22:19 macallan Exp $ */
+/* $NetBSD: sxreg.h,v 1.13 2017/01/13 21:49:46 macallan Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -164,6 +164,8 @@
SX_LONG | (sreg << 7) | (o))
#define SX_STB(sreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_STORE | \
SX_UBYTE_0 | (sreg << 7) | (o))
+#define SX_STBM(sreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_STORE_MASK | \
+ SX_UBYTE_0 | (sreg << 7) | (o))
#define SX_STBC(sreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_STORE_CLAMP | \
SX_UBYTE_0 | (sreg << 7) | (o))
#define SX_STP(sreg, cnt, o) (0x80000000 | ((cnt) << 23) | SX_STORE | \
Home |
Main Index |
Thread Index |
Old Index