Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
13 changes: 1 addition & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,6 @@ llvm-project/*
veir/*
xdsl/*
build/*
benchmarks/LLC_ASM_globalisel
benchmarks/LLC_ASM_selectiondag
benchmarks/LLVM
benchmarks/LLVMIR
benchmarks/logs
benchmarks/MLIR_bb0
benchmarks/MLIR_bb0_veir
benchmarks/MLIR_multi
benchmarks/MLIR_single
benchmarks/VEIR_ASM
benchmarks/XDSL_FUNC
benchmarks/XDSL_ASM

mca-analysis/results
.lake/
18 changes: 18 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_0.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
remu a0, a0, a1
zext.w a0, a0
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
18 changes: 18 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_1.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
sext.w a0, a0
remu a0, a0, a0
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
18 changes: 18 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_10.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
or a0, a0, a1
rem a0, a0, a1
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
18 changes: 18 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_11.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
and a0, a0, a1
sext.w a0, a0
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
19 changes: 19 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_12.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
divu a1, a1, a1
srl a0, a0, a0
and a0, a0, a1
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
20 changes: 20 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_13.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
divu a2, a1, a2
and a1, a1, a2
slt a0, a1, a0
xori a0, a0, 1
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
18 changes: 18 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_14.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
xor a2, a1, a2
rem a0, a2, a1
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
17 changes: 17 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_15.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
sltu a0, a0, a1
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
17 changes: 17 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_16.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
div a0, a0, zero
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
19 changes: 19 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_17.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
sext.w a0, a0
and a1, a1, a2
and a0, a0, a1
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
18 changes: 18 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_18.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
srl a1, a1, a0
div a0, a0, a1
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
17 changes: 17 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_19.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
sext.w a0, a0
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
18 changes: 18 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_2.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
srl a1, a1, a1
and a0, a0, a1
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
18 changes: 18 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_20.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
srl a1, a1, a0
srl a0, a0, a1
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
19 changes: 19 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_21.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
sext.w a1, a0
xor a0, a0, a1
seqz a0, a0
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
18 changes: 18 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_22.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
divu a0, a0, a1
sra a0, a0, a2
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
23 changes: 23 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_23.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
mv a3, a0
mv a0, a1
andi a3, a3, 1
beqz a3, .LBB0_2
# %bb.1:
or a0, a0, a2
.LBB0_2:
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
22 changes: 22 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_24.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
andi a2, a0, 1
mv a0, a1
bnez a2, .LBB0_2
# %bb.1:
sext.w a0, a0
.LBB0_2:
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
16 changes: 16 additions & 0 deletions benchmarks/LLC_ASM_globalisel/3_function_25.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.attribute 4, 16
.attribute 5, "rv64i2p1_m2p0_b1p0_zmmul1p0_zba1p0_zbb1p0_zbs1p0"
.file "LLVMDialectModule"
.text
.globl main # -- Begin function main
.p2align 2
.type main,@function
main: # @main
.cfi_startproc
# %bb.0:
ret
.Lfunc_end0:
.size main, .Lfunc_end0-main
.cfi_endproc
# -- End function
.section ".note.GNU-stack","",@progbits
Loading