Code Review
/
kvmfornfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
This patch removes the ovs kernel modules from kvmfornfv kernel
[kvmfornfv.git]
/
qemu
/
tests
/
tcg
/
mips
/
mips32-dsp
/
cmpgu_le_qb.c
1
#include<stdio.h>
2
#include<assert.h>
3
4
int main()
5
{
6
int rd, rs, rt;
7
int result;
8
9
rs = 0x11777066;
10
rt = 0x55AA70FF;
11
result = 0x0F;
12
__asm
13
("cmpgu.le.qb %0, %1, %2\n\t"
14
: "=r"(rd)
15
: "r"(rs), "r"(rt)
16
);
17
18
assert(rd == result);
19
20
rs = 0x11777066;
21
rt = 0x11766066;
22
result = 0x09;
23
__asm
24
("cmpgu.le.qb %0, %1, %2\n\t"
25
: "=r"(rd)
26
: "r"(rs), "r"(rt)
27
);
28
assert(rd == result);
29
30
return 0;
31
}