Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.35
 
1.36
 
MAIN:ragge:20101204205216
 
local2.c
_>11361136                 return 0;
 11371137         }
 11381138 }
<_ 1139+
  1140+static struct {
  1141+        char *name; int num;
  1142+} xcr[] = {
  1143+        { "rax", RAX },
  1144+        { "rbx", RBX },
  1145+        { "rcx", RCX },
  1146+        { "rdx", RDX },
  1147+        { "rsi", RSI },
  1148+        { "rdi", RDI },
  1149+        { NULL, 0 },
  1150+};
  1151+
  1152+/*
  1153+ * Check for other names of the xasm constraints registers.
  1154+ */
  1155+int xasmconstregs(char *s)
  1156+{
  1157+        int i;
  1158+
  1159+        for (i = 0; xcr[i].name; i++)
  1160+                if (strcmp(xcr[i].name, s) == 0)
  1161+                        return xcr[i].num;
  1162+        return -1;
  1163+}
  1164+
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-09-17 13:35 +0200