7 /* this would be better to do in asm, it's an orgy in GCC inline asm now. */
9 /* ACR will be clobbered. */
10 #define cris_addoq(o, v) \
11 asm volatile ("addoq\t%1, %0, $acr\n" : : "r" (v), "i" (o) : "acr");
16 int x
[3] = {0x55aa77ff, 0xccff2244, 0x88ccee19};
20 asm volatile ("setf\tzvnc\n");
22 cris_tst_cc(1, 1, 1, 1);
23 asm volatile ("move.d\t$acr, %0\n" : "=r" (p
));
28 asm volatile ("setf\tzvnc\n");
30 cris_tst_cc(1, 1, 1, 1);
31 asm volatile ("move.d\t$acr, %0\n" : "=r" (p
));
36 asm volatile ("clearf\tzvnc\n");
37 cris_addoq(-8, t
+ 1);
38 cris_tst_cc(0, 0, 0, 0);
39 asm volatile ("move.d\t$acr, %0\n" : "=r" (p
));