Open albertethon opened 8 months ago
Test failed from 13-20.
The error message is incorrect register %r8' used with l' suffix
incorrect register %r8' used with l' suffix
It seems that movzbl can only use 32-bit registers?
int cgloadglob(int id) { //... case P_INT: fprintf(Outfile, "\tmovzbl\t%s(\%%rip), %s\n", Gsym[id].name, reglist[r]); //...
should reglist[r] be changed to dreglist[r] ? The test passed when I made this change
reglist[r]
dreglist[r]
Test failed from 13-20.
The error message is
incorrect register %r8' used with l' suffix
It seems that movzbl can only use 32-bit registers?
should
reglist[r]
be changed todreglist[r]
? The test passed when I made this change