代码搜索:COMPACT
找到约 3,584 项符合「COMPACT」的源代码
代码结果 3,584
www.eeworm.com/read/479931/1327172
cgs movl11.cgs
# sh testcase for mov.l @($imm4x4, $rm), $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
mov #30, r0
shll8 r0
# Build up a distinctive b
www.eeworm.com/read/479931/1327174
cgs and.cgs
# sh testcase for and $rm64, $rn64 -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global and
and:
mov #1, r1
mov #7, r2
rotr r2
rotr r2
www.eeworm.com/read/479931/1327187
cgs addv.cgs
# sh testcase for addv $rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
zero:
mov #0, r0
mov #0, r1
addv r0, r1
# Assert !T and #0.
www.eeworm.com/read/479931/1327198
cgs ldc-gbr.cgs
# sh testcase for ldc $rn, gbr -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global ldc
ldc:
mov #40, r0
shll8 r0
ldc r0, gbr
stc gbr,
www.eeworm.com/read/479931/1327203
cgs stsl-fpul.cgs
# sh testcase for sts.l fpul, @-$rn -*- Asm -*_
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global stsl_fpul
stsl_fpul:
mov #40, r0
shll8 r0
# Pr
www.eeworm.com/read/479931/1327225
cgs ldsl-pr.cgs
# sh testcase for lds.l @${rn}+, pr -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global ldsl_pr
ldsl_pr:
mov #40, r0
shll8 r0
# Preser
www.eeworm.com/read/479931/1327234
cgs xori.cgs
# sh testcase for xor #$imm8, r0 -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global xori
xori:
# 0 (+) 1 = 1.
mov #0, r0
xor #1, r0
www.eeworm.com/read/479931/1327242
cgs stc-gbr.cgs
# sh testcase for stc gbr, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global stc_gbr
stc_gbr:
stc gbr, r1
mov #42, r1
ldc r1, gb
www.eeworm.com/read/479931/1327250
cgs xor.cgs
# sh testcase for xor $rm64, $rn64 -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global xor
xor:
# 0 (+) 1 = 1.
mov #0, r0
mov #1, r1
www.eeworm.com/read/479931/1327251
cgs movb6.cgs
# sh testcase for mov.b @$rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
mov #30, r2
shll8 r2
# Store something first.
mov #0, r0