-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
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?
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
Metadata
Metadata
Assignees
Labels
No labels