summaryrefslogtreecommitdiff
path: root/nasmlib.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-24 21:51:46 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-24 21:57:17 -0800
commit4ecd5d79fc18197838852479cff3ffb1abe78e1a (patch)
treed53db43dcbb42b7266c9286243ee8784128f8a53 /nasmlib.c
parent442a05a8975d53e5e56dd7630ae4480150e5bff4 (diff)
downloadnasm-4ecd5d79fc18197838852479cff3ffb1abe78e1a.tar.gz
nasm-4ecd5d79fc18197838852479cff3ffb1abe78e1a.tar.bz2
nasm-4ecd5d79fc18197838852479cff3ffb1abe78e1a.zip
HLE: Implement the basic mechanism for XACQUIRE/XRELEASE
This implements the mechanism for XACQUIRE/XRELEASE. It does not include the necessary annotations in insns.dat. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'nasmlib.c')
-rw-r--r--nasmlib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nasmlib.c b/nasmlib.c
index e35d99e..254c84c 100644
--- a/nasmlib.c
+++ b/nasmlib.c
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------- *
*
- * Copyright 1996-2010 The NASM Authors - All Rights Reserved
+ * Copyright 1996-2012 The NASM Authors - All Rights Reserved
* See the file AUTHORS included with the NASM distribution for
* the specific copyright holders.
*
@@ -563,7 +563,8 @@ void standard_extension(char *inname, char *outname, char *extension)
*/
static const char *prefix_names[] = {
"a16", "a32", "a64", "asp", "lock", "o16", "o32", "o64", "osp",
- "rep", "repe", "repne", "repnz", "repz", "times", "wait"
+ "rep", "repe", "repne", "repnz", "repz", "times", "wait",
+ "xacquire", "xrelease"
};
const char *prefix_name(int token)