summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann <ssp@redhat.com>2013-12-28 15:46:36 -0500
committerSøren Sandmann <ssp@redhat.com>2013-12-28 15:46:36 -0500
commitc041ad7baddb3a31aa48946045c1aa68de93864d (patch)
tree82fbb36f771d194c5aeb5a38a5ec5abb4c3ab103
parent5c48c3d3db678725f31e446e08f8e2b61aceaf92 (diff)
simplex86.h: Support for 128 bit values
-rw-r--r--simplex86.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/simplex86.h b/simplex86.h
index b91e24f..eac54ed 100644
--- a/simplex86.h
+++ b/simplex86.h
@@ -258,6 +258,12 @@ typedef enum
#define BASE(reg_op, disp) \
INDEX (reg_op, disp, NO_REG, 1)
+#define DEFINE_VALUE128(name, hi, lo) \
+ I_align, IMM (16), \
+ I_label, LABEL (name), \
+ I_dq, IMM64 (lo), \
+ I_dq, IMM64 (hi)
+
#define DEFINE_VALUE64(name, value) \
I_align, IMM (8), \
I_label, LABEL (name), \