代码搜索:COMPACT
找到约 3,584 项符合「COMPACT」的源代码
代码结果 3,584
www.eeworm.com/read/479931/1327216
cgs movw9.cgs
# sh testcase for mov.w @($imm8x2, gbr), r0 -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
mov #30, r0
shll8 r0
ldc r0, gbr
# Store somet
www.eeworm.com/read/479931/1327217
cgs cmpstr.cgs
# sh testcase for cmp/str $rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
.macro rot8
rotr r0
rotr r0
rotr r0
rotr r0
rotr r0
rotr r0
www.eeworm.com/read/479931/1327253
cgs movl9.cgs
# sh testcase for mov.l @($imm8x4, gbr), r0 -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
mov #30, r1
shll8 r1
ldc r1, gbr
# Store someth
www.eeworm.com/read/479931/1327282
cgs movl4.cgs
# sh testcase for mov.l r0, @($imm8x4, gbr) -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
setaddr:
mov #30, r1
shll8 r1
ldc r1, gbr
init
www.eeworm.com/read/479931/1327287
cgs fsub.cgs
# sh testcase for fmul -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
# 0.0 - 0.0 = 0.0.
fldi0 fr0
fldi0 fr1
fsub fr0, fr1
fldi0 fr2
fcm
www.eeworm.com/read/479931/1327298
cgs neg.cgs
# sh testcase for neg $rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
.macro signbit sign
shlr16 r1
shlr8 r1
shlr r1
shlr r1
shlr r1
s
www.eeworm.com/read/479931/1327299
cgs dmulul.cgs
# sh testcase for dmulu.l $rm, $rn -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
mov #0, r0
mov #0, r1
dmulu.l r0, r1
mov #0, r0
mov #
www.eeworm.com/read/479931/1327303
cgs jmp.cgs
# sh testcase for jmp @$rn
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
.global jmp
jmp:
# Load 0x1010 into r0.
mov #1, r0
shll8 r0
shll2 r0
shll
www.eeworm.com/read/479931/1327315
cgs fneg.cgs
# sh testcase for fneg -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
# neg(0.0) = 0.0.
fldi0 fr0
fldi0 fr1
fneg fr0
fcmp/eq fr0, fr1
b
www.eeworm.com/read/479931/1327316
cgs fipr.cgs
# sh testcase for fipr $fvm, $fvn
# mach: all
# as: -isa=shcompact
# ld: -m shelf32
.include "compact/testutils.inc"
start
initv1:
fldi1 fr0
# Load 2 into fr2.
fldi1 fr1
fadd fr1, fr1
# Load