代码搜索:COMPACT
找到约 3,584 项符合「COMPACT」的源代码
代码结果 3,584
www.eeworm.com/read/479931/1327189
cgs ldsl-macl.cgs
# sh testcase for lds.l @${rn}+, macl -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global ldsl_macl
ldsl_macl:
mov #40, r0
shll8 r0
#
www.eeworm.com/read/479931/1327210
cgs dt.cgs
# sh testcase for dt $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global dt
dt:
mov #3, r0
dt r0
bt wrong
assert r0, #2
mov #1,
www.eeworm.com/read/479931/1327215
cgs stsl-fpscr.cgs
# sh testcase for sts.l fpscr, @-$rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global stsl_fpscr
stsl_fpscr:
mov #40, r0
shll8 r0
#
www.eeworm.com/read/479931/1327222
cgs muluw.cgs
# sh testcase for mulu.w $rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
sts mach, r7
.global mulsw
zero:
mov #0, r0
mov #1, r1
www.eeworm.com/read/479931/1327237
cgs lds-fpul.cgs
# sh testcase for lds $rn, fpul -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global lds_fpul
lds_fpul:
mov #63, r0
shll8 r0
add #128,
www.eeworm.com/read/479931/1327243
cgs shlr.cgs
# sh testcase for shlr $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global shlr
shlr:
mov #0, r0
or #192, r0
shlr r0
shlr r0
shl
www.eeworm.com/read/479931/1327247
cgs rotl.cgs
# sh testcase for rotl $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global rotl
rotl:
mov #1, r1
rotl r1
assert r1, #2
rotl r1
a
www.eeworm.com/read/479931/1327266
cgs orb.cgs
# sh testcase for or.b #$imm8, @(r0, gbr) -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global orb
init:
# Init GBR and R0.
mov #30, r0
www.eeworm.com/read/479931/1327267
cgs mulsw.cgs
# sh testcase for muls.w $rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
sts mach, r7
.global mulsw
zero:
mov #0, r0
mov #1, r1
www.eeworm.com/read/479931/1327278
cgs xorb.cgs
# sh testcase for xor.b #$imm8, @(r0, gbr) -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global orb
init:
# Init GBR and R0.
mov #30, r0