summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2013-12-03 07:30:30 -0500
committerSøren Sandmann Pedersen <ssp@redhat.com>2013-12-27 22:51:35 -0500
commit9f327017c40e0ffc2eb5a89ae8c9fc36678f66b4 (patch)
tree6d88a48d97deeb4813bd784f23be8ade66f4c973
parentf250c220d37784f741e14fccbfdfa1966a78ff79 (diff)
adsf
-rw-r--r--simplex86.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/simplex86.c b/simplex86.c
index 3405fdb..53c11af 100644
--- a/simplex86.c
+++ b/simplex86.c
@@ -841,7 +841,7 @@ static const variant_t variants[] =
#define N_VARIANTS (sizeof (variants) / sizeof (variants[0]))
-static const char inames[][12] =
+static const char inames[][16] =
{
"invalid",
@@ -886,7 +886,7 @@ sanity_check (void)
enum { BEFORE, DURING, AFTER } state;
int j, n_mem_ops;
- printf ("\r%s ", GET_NAME (variant->inst));
+ printf ("\r%s ", GET_NAME (variant->inst));
n_mem_ops = 0;
for (j = 0; j < 4; ++j)
@@ -898,7 +898,7 @@ sanity_check (void)
assert ((variant->ops[j] & ~a_mask) == 0);
- if ((variant->ops[j] & A_MEM) == A_MEM)
+ if ((variant->ops[j] & A_MEM))
n_mem_ops++;
}