Open memory-paper opened 2 days ago
Hi, thanks for raising this issue. The ldrsb
is supported by SimEng, however the execution logic is currently not present on the branch you are using for this specific version of the instruction.
Given you are using GCC 13.2 to compile your binary, and you are targetting SME2, can you try and use the sme-loops-support branch instead? This has a) SME2 support (in beta) and b) much better instruction support for newer compiler versions.
Let me know how you get on - any other issues / if this issue still persists then please update this issue
memory-paper commented Nov 19, 2024
Thank you for your solution. After following your suggestion to switch to the sme-loops-support branch and trying again, I found that the previous issue is no longer occurring. However, a new issue has emerged, and the details are as follows:
[SimEng] Build metadata:
[SimEng] Version: 0.9.6
[SimEng] Compile Time - Date: 16:31:43 - Nov 20 2024
[SimEng] Build type: Release
[SimEng] Compile options: $<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>;-Wall;-pedantic;-Werror
[SimEng] Test suite: ON
[SimEng] Running in Out-of-Order mode
[SimEng] Workload: /home/lin/workspace/sme_test/gemm_micro_64_16_2/test
[SimEng] Config file: /home/lin/workspace/SimEng/configs/a64fx_SME.yaml
[SimEng] ISA: AArch64
[SimEng] Auto-generated Special File directory: True
[SimEng] Special File directory used: /home/lin/workspace/SimEng/build/specialFiles/
[SimEng] Number of Cores: 1
[SimEng] Starting...
[SimEng:ExceptionHandler] Encountered execution not-yet-implemented exception
[SimEng:ExceptionHandler] Generated by instruction:
[SimEng:ExceptionHandler] 0x0000000000400df4: 80 00 20 e1 str za[w12, 0], [x4]
[SimEng:ExceptionHandler] opcode ID: 6858
[SimEng:ExceptionHandler] Extra information: This instruction is an alias. The printed mnemonic and operand string may differ from the underlying opcode.
[SimEng:Core] Halting due to fatal exception
[SimEng] branch.fetched: 118611
[SimEng] branch.mispredicted: 4826
[SimEng] branch.missrate: 11.4%
[SimEng] branch.retired: 42465
[SimEng] cycles: 489535
[SimEng] decode.earlyFlushes: 0
[SimEng] dispatch.rsStalls: 117606
[SimEng] fetch.branchStalls: 68670
[SimEng] flushes: 20309
[SimEng] ipc: 0.63
[SimEng] issue.backendStalls: 39256
[SimEng] issue.frontendStalls: 51137
[SimEng] issue.portBusyStalls: 11197
[SimEng] lsq.loadViolations: 15306
[SimEng] rename.allocationStalls: 24654
[SimEng] rename.lqStalls: 0
[SimEng] rename.robStalls: 3
[SimEng] rename.sqStalls: 0
[SimEng] retired: 309010
[SimEng] Finished 489535 ticks in 686ms (714 kHz, 0.45 MIPS)
I hope this information can help diagnose the new issue. Thanks again!
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 Provide the SimEng repository branch, commit hash, and version tag (if relevant) that the issue is present on. 7af3bc3fe7deb703756def31a208839bc5bdc4c2
SimEng CMAKE Options Used Provide a bullet list of all CMAKE options used. E.g.
-DCMAKE_BUILD_TYPE=Release
. -DCMAKE_BUILD_TYPE=ReleaseBinary Compilation Instructions Provide a bullet list of how the binary in question was compiled, including all compiler flags used. compiler flags: -march=armv9.2-a -mcpu=neoverse-v1+sme2
SimEng Command Line Expression Provide the command line expression used to run SimEng e.g.
./simeng /path/to/configs/a64fx.yaml /path/to/myBinary.elf
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 Does SimEng not support the LDRSB instruction?