blob: 634327618cced9aeab1b2c033c7f364172b46fee [file] [log] [blame] [edit]
#include<stdio.h>
#include<assert.h>
int main()
{
int rd, rt;
int result;
rt = 0x87654321;
result = 0x00650021;
__asm
("preceu.ph.qbra %0, %1\n\t"
: "=r"(rd)
: "r"(rt)
);
assert(result == rd);
return 0;
}