repo.or.cz
/
qemu
/
agraf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
s390-ccw.img: replace while loop with a disabled wait on s390 bios
[qemu/agraf.git]
/
tests
/
tcg
/
mips
/
mips32-dsp
/
preceq_w_phr.c
blob
3f885ef584e664633e2ceabb28014cf840442cf9
1
#include<stdio.h>
2
#include<assert.h>
3
4
int
main
()
5
{
6
int
rd
,
rt
;
7
int
result
;
8
9
rt
=
0x87654321
;
10
result
=
0x43210000
;
11
12
__asm
13
(
"preceq.w.phr %0, %1
\n\t
"
14
:
"=r"
(
rd
)
15
:
"r"
(
rt
)
16
);
17
assert
(
result
==
rd
);
18
19
return
0
;
20
}