Closed kevinyuan closed 3 years ago
Hi! I think this is just a disassembly issue. It looks like it is passing the test. If you look at the actual bits in the binary for the gcd
instruction it says 9c432011
and then if you look in the line trace you see the same thing 9c432011
... so it is indeed working correctly. The only issue is the disassembler. This is probably because the way it works is Pydgin takes the first encoding it finds. So if you look, the encoding for subu_xi
is here:
If you remove the encoding for subu_xi
and leave in the encoding for gcd
I think the disassembler will show the correct instruction.
Dear pydgin team,
I am trying to walk through the tcd tutorial, how every parc-sim.py fetched incorrect instruction (expect gcd, actual subu_xi)as following:
parc-sim.py
parc/asm_tests/parcv1/parcv1-gcd.S
Dump the ASM test, which has the correct gcd instruction: