5 static int clst(char sep
, const char **s1
, const char **s2
)
12 register int r0
asm("r0") = sep
;
14 asm("clst %[r1],%[r2]\n"
17 : [r1
] "+r" (r1
), [r2
] "+r" (r2
), "+r" (r0
), [cc
] "=r" (cc
)
27 static const struct test
{
68 for (i
= 0; i
< sizeof(tests
) / sizeof(tests
[0]); i
++) {
72 cc
= clst(t
->sep
, &s1
, &s2
);
73 if (cc
!= t
->exp_cc
||
74 s1
!= t
->s1
+ t
->exp_off
||
75 s2
!= t
->s2
+ t
->exp_off
) {
76 fprintf(stderr
, "%s\n", t
->name
);