Code Review
/
kvmfornfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Merge "Increasing the cyclictest execution time."
[kvmfornfv.git]
/
qemu
/
tests
/
tcg
/
mips
/
mips32-dspr2
/
shrlv_ph.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 = 0x05;
10
rt = 0x12345678;
11
result = 0x009102B3;
12
13
__asm
14
("shrlv.ph %0, %1, %2\n\t"
15
: "=r"(rd)
16
: "r"(rt), "r"(rs)
17
);
18
assert(rd == result);
19
20
return 0;
21
}