7 #define cris_moveq(dst, src) \
8 asm volatile ("moveq %1, %0\n" : "=r" (dst) : "i" (src));
17 asm volatile ("setf\tzvnc\n");
19 cris_tst_cc(1, 1, 1, 1);
23 /* make sure moveq doesnt clobber the zflag. */
25 asm volatile ("setf vnc\n");
26 asm volatile ("clearf z\n");
28 cris_tst_cc(1, 0, 1, 1);
32 /* make sure moveq doesnt clobber the nflag.
33 Also check large immediates */
35 asm volatile ("setf zvc\n");
36 asm volatile ("clearf n\n");
38 cris_tst_cc(0, 1, 1, 1);
43 asm volatile ("setf nzvc\n");
45 cris_tst_cc(1, 1, 1, 1);