This commit is contained in:
2025-09-04 01:13:24 +02:00
commit d87b794e66
6 changed files with 305 additions and 0 deletions

32
example_input.txt Normal file
View File

@@ -0,0 +1,32 @@
arithmetic x86 1
arithmetic amd64 1
arithmetic rv64 1
# you can put comments anywhere
arithmetic emit-qbe 1
# empty lines are ignored
# omitting entries will mark them as skipped.
# note that you have to keep the order of th elines once you use them in that order
qbe-verify emit-qbe 1
loops x86 1
loops amd64 1
loops rv64 1
loops emit-qbe 0
floats x86 0
floats amd64 1
floats rv64 0
floats emit-qbe -
vectorize-loops-1 amd64 1
vectorize-loops-1 rv64 0
vectorize-loops-2 amd64 1
vectorize-loops-2 rv64 0
vectorize-loops-3 amd64 0
vectorize-loops-3 rv64 1
extern-func x86 1
extern-func amd64 1
extern-func rv64 1
extern-func emit-qbe 1