Commit 54c750f2 authored by Mark Andrews's avatar Mark Andrews
Browse files

fix cd checks

parent 6af4975e
...@@ -1348,15 +1348,13 @@ process(struct workitem *item, unsigned char *buf, int n) { ...@@ -1348,15 +1348,13 @@ process(struct workitem *item, unsigned char *buf, int n) {
addtag(item, "aa"), ok = 0; addtag(item, "aa"), ok = 0;
if (ra && opts[item->test].opcode) if (ra && opts[item->test].opcode)
addtag(item, "ra"), ok = 0; addtag(item, "ra"), ok = 0;
if (rd && if (rd && (opts[item->test].opcode || !opts[item->test].rd))
(opts[item->test].opcode || !opts[item->test].rd))
addtag(item, "rd"), ok = 0; addtag(item, "rd"), ok = 0;
if (!rd && opts[item->test].rd) if (!rd && opts[item->test].rd)
addtag(item, "nord"), ok = 0; addtag(item, "nord"), ok = 0;
if (ad && if (ad && (opts[item->test].opcode || !opts[item->test].ad))
(opts[item->test].opcode || !opts[item->test].ad))
addtag(item, "ad"), ok = 0; addtag(item, "ad"), ok = 0;
if (cd) if (cd && (opts[item->test].opcode || !opts[item->test].cd))
addtag(item, "cd"), ok = 0; addtag(item, "cd"), ok = 0;
if (z) if (z)
addtag(item, "z"), ok = 0; addtag(item, "z"), ok = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment