2 * Test R5900-specific MTLO1 and MTHI1.
11 int32_t tlo
= 12207031, thi
= 305175781;
12 int32_t tlo1
= 32452867, thi1
= 49979687;
13 int32_t flo
, fhi
, flo1
, fhi1
;
15 /* Test both LO/HI and LO1/HI1 to verify separation. */
16 __asm__
__volatile__ (
29 : "=r" (flo
), "=r" (fhi
),
30 "=r" (flo1
), "=r" (fhi1
)
31 : "r" (tlo
), "r" (thi
),
32 "r" (tlo1
), "r" (thi1
));
34 assert(flo
== 12207031);
35 assert(fhi
== 305175781);
36 assert(flo1
== 32452867);
37 assert(fhi1
== 49979687);