Descriptioncmd/6g, cmd/8g: fix two "out of fixed registers" cases.
In two cases, registers were allocated too early resulting
in exhausting of available registers when nesting these
operations.
The case of method calls was due to missing cases in igen,
which only makes calls but doesn't allocate a register for
the result.
The case of 8-bit multiplication was due to a wrong order
in register allocation when Ullman numbers were bigger on the
RHS.
Fixes issue 3907.
Fixes issue 4156.
Patch Set 1 #Patch Set 2 : diff -r 96fde1b15506 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 96fde1b15506 https://go.googlecode.com/hg/ #
Total comments: 4
Patch Set 4 : diff -r 96fde1b15506 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 599552ae08cd https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|