代码搜索:COMPACT
找到约 3,584 项符合「COMPACT」的源代码
代码结果 3,584
www.eeworm.com/read/479931/1327188
cgs shll.cgs
# sh testcase for shll $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global shll
shll:
mov #1, r1
shll r1
shll r1
shll r1
shll r1
www.eeworm.com/read/479931/1327192
cgs movw3.cgs
# sh testcase for mov.w $rm, @(r0, $rn) -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
mov #0, r0
mov #30, r1
shll8 r1
init:
# Build up a
www.eeworm.com/read/479931/1327199
cgs movb2.cgs
# sh testcase for mov.b $rm, @-$rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
mov #40, r1
shll8 r1
mov #55, r2
# Save ADDR, DATA.
m
www.eeworm.com/read/479931/1327202
cgs movw7.cgs
# sh testcase for mov.w @${rm}+, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
mov #30, r0
shll8 r0
# Preserve address.
mov r0, r7
www.eeworm.com/read/479931/1327212
cgs extub.cgs
# sh testcase for extu.b $rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global extub
extub:
mov #42, r1
extu.b r1, r2
assert r2
www.eeworm.com/read/479931/1327214
cgs cmpgt.cgs
# sh testcase for cmp/gt $rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
zero:
mov #0, r0
mov #0, r1
cmp/gt r0, r1
bt wrong
onez
www.eeworm.com/read/479931/1327219
cgs lds-macl.cgs
# sh testcase for lds $rn, macl
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global lds_macl
lds_macl:
mov #42, r0
shll8 r0
lds r0, macl
readback:
www.eeworm.com/read/479931/1327221
cgs fcmpgt.cgs
# sh testcase for fcmpgt -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
# 1.0 !> 1.0.
fldi1 fr0
fldi1 fr1
fcmp/gt fr0, fr1
bt wrong
#
www.eeworm.com/read/479931/1327226
cgs subv.cgs
# sh testcase for subv $rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
zero:
mov #0, r0
mov #0, r1
subv r0, r1
bt wrong
assert r1
www.eeworm.com/read/479931/1327229
cgs movl2.cgs
# sh testcase for mov.l $rm, @-$rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
mov #30, r1
shll8 r1
# Save address.
mov r1, r7
init: