summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-12 13:46:57 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-12 14:51:50 -0400
commitff53f2258da52d2f35c4cb38b9e31406d48264c3 (patch)
tree552fb7d4c47443c2fdae277313ca71df63a35f81
parente562f219cf4abb9219f0cbd8d5c423603ce66cad (diff)
downloadroux-ff53f2258da52d2f35c4cb38b9e31406d48264c3.tar.gz
fix wrong isext() macro
-rw-r--r--all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/all.h b/all.h
index c6e2acb..74feafe 100644
--- a/all.h
+++ b/all.h
@@ -246,7 +246,7 @@ enum Op {
 	OExtuh,
 	OExtsw,
 	OExtuw,
-#define isext(o) (OExtsw <= o && o <= OExtuw)
+#define isext(o) (OExtsb <= o && o <= OExtuw)
 
 	OExts,
 	OTruncd,