Closed tarinduj closed 4 weeks ago
Thanks for raising this issue. I've pushed some instruction logic fixes to the additional-sme-support
branch which helped to resolve this issue last week for a different compiler. Please let me know if this fixes the issue you're having
Perfect. That worked. Thank you.
Not related to the issue, but do you happen to have any pointers to SME examples other than SME_Evaluation_Resources? I am trying to implement a matrix transpose with SME. I tried running something I implemented using MLIR 'ArmSME' Dialect, but it looks like SimEng can't run it.
Unfortunately SME resources are quite few and far betweeen... You can look at this project however and see if anything is of use
Check List
Binary File Information Please run
file
on the binary used and paste the output below (i.e.file myBinary.elf
).System Description Please provide the following as a list:
SimEng Version additional-sme-support d5c631cc3a42b17fda07c97467e5c92db78d4f3f 0.9.6-48-gd5c631cc
SimEng CMAKE Options Used -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/mnt/SimEng/install" -DCMAKE_CXX_COMPILER="g++" -DCMAKE_CXX_FLAGS="-std=c++17"
Binary Compilation Instructions
armclang -static -march=armv8.4-a+sve -Wall -O3 -o sme_matmul_fp32 main.c matmul.c
SimEng Command Line Expression
simeng /mnt/SimEng/configs/a64fx_SME.yaml /mnt/SME_Evaluation_Resources/SME_matmul_fp32/sme_matmul_fp32 200 128 128 128
SimEng Metadata Output If your simulation begins to execute the binary, please provide the metadata that SimEng prints at the start of execution. E.g.
Problem Description This was the example from SME_Evaluation_Resources. It prints
%d
instead of the integer values.But the binary itself works when I run it without using SimEng (until it meets an invalid instruction).