Code Review
/
kvmfornfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
77a983c0d20f39c9631c8e87865686345b2e93b1
[kvmfornfv.git]
/
qemu
/
tests
/
tcg
/
mips
/
mips32-dsp
/
raddu_w_qb.c
1
#include<stdio.h>
2
#include<assert.h>
3
4
int main()
5
{
6
int rd, rs;
7
int result;
8
9
rs = 0x12345678;
10
result = 0x114;
11
12
__asm
13
("raddu.w.qb %0, %1\n\t"
14
: "=r"(rd)
15
: "r"(rs)
16
);
17
assert(rd == result);
18
19
return 0;
20
}