/[gxemul]/trunk/src/cpus/generate_arm_r.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/cpus/generate_arm_r.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 16 by dpavlin, Mon Oct 8 16:19:01 2007 UTC revision 18 by dpavlin, Mon Oct 8 16:19:11 2007 UTC
# Line 358  void f(int s, int func, int only_name) Line 358  void f(int s, int func, int only_name)
358                              (int)(1 << (c-1)));                              (int)(1 << (c-1)));
359                          printf(" return x >> %i; }\n", c);                          printf(" return x >> %i; }\n", c);
360                  } else {                  } else {
361                          printf("uint64_t x=");                          printf("{ uint64_t x=");
362                          if (pc)                          if (pc)
363                                  printf("tmp");                                  printf("tmp");
364                          else                          else
365                                  printf("cpu->cd.arm.r[%i]",rm);                                  printf("cpu->cd.arm.r[%i]",rm);
366                          printf("; x |= (x << 32); ");                          printf("; x |= (x << 32); ");
367                          printf("return x >> %i;\n", c);                          printf("return x >> %i; }\n", c);
368                  }                  }
369                  break;                  break;
370    

Legend:
Removed from v.16  
changed lines
  Added in v.18

  ViewVC Help
Powered by ViewVC 1.1.26