CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
84 lines
1.1 KiB
ArmAsm
84 lines
1.1 KiB
ArmAsm
# Input instructions for the 'I' and 'Zicsr' extensions.
|
|
|
|
# Integer Register-Immediate Instructions
|
|
addi a0, a0, 1
|
|
addiw a0, a0, 1
|
|
slti a0, a0, 1
|
|
sltiu a0, a0, 1
|
|
|
|
andi a0, a0, 1
|
|
ori a0, a0, 1
|
|
xori a0, a0, 1
|
|
|
|
slli a0, a0, 1
|
|
srli a0, a0, 1
|
|
srai a0, a0, 1
|
|
slliw a0, a0, 1
|
|
srliw a0, a0, 1
|
|
sraiw a0, a0, 1
|
|
|
|
lui a0, 1
|
|
auipc a1, 1
|
|
|
|
# Integer Register-Register Operations
|
|
add a0, a0, a1
|
|
addw a0, a0, a0
|
|
slt a0, a0, a0
|
|
sltu a0, a0, a0
|
|
|
|
and a0, a0, a0
|
|
or a0, a0, a0
|
|
xor a0, a0, a0
|
|
|
|
sll a0, a0, a0
|
|
srl a0, a0, a0
|
|
sra a0, a0, a0
|
|
sllw a0, a0, a0
|
|
srlw a0, a0, a0
|
|
sraw a0, a0, a0
|
|
|
|
sub a0, a0, a0
|
|
subw a0, a0, a0
|
|
|
|
# Control Transfer Instructions
|
|
|
|
## Unconditional Jumps
|
|
jal a0, 1f
|
|
1:
|
|
jalr a0
|
|
beq a0, a0, 1f
|
|
1:
|
|
bne a0, a0, 1f
|
|
1:
|
|
blt a0, a0, 1f
|
|
1:
|
|
bltu a0, a0, 1f
|
|
1:
|
|
bge a0, a0, 1f
|
|
1:
|
|
bgeu a0, a0, 1f
|
|
1:
|
|
add a0, a0, a0
|
|
|
|
# Load and Store Instructions
|
|
lb t0, 0(a0)
|
|
lbu t0, 0(a0)
|
|
lh t0, 0(a0)
|
|
lhu t0, 0(a0)
|
|
lw t0, 0(a0)
|
|
lwu t0, 0(a0)
|
|
ld t0, 0(a0)
|
|
|
|
sb t0, 0(a0)
|
|
sh t0, 0(a0)
|
|
sw t0, 0(a0)
|
|
sd t0, 0(a0)
|
|
|
|
# Zicsr
|
|
csrrw t0, 0xfff, t1
|
|
csrrs s3, 0x001, s5
|
|
csrrc sp, 0x000, ra
|
|
csrrwi a5, 0x000, 0
|
|
csrrsi t2, 0xfff, 31
|
|
csrrci t1, 0x140, 5
|