projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
m32r
/
cmpi.cgs
1
# m32r testcase for cmpi $src2,#$simm16
2
# mach(): m32r m32rx
3
4
.include "testutils.inc"
5
6
start
7
8
.global cmpi
9
cmpi:
10
mvi_h_condbit 0
11
mvi_h_gr r4, 1
12
13
cmpi r4, #2
14
bc ok
15
not_ok:
16
fail
17
ok:
18
mvi_h_condbit 1
19
mvi_h_gr r4, 2
20
cmpi r4, #2
21
bc not_ok
22
23
24
pass