mirror of
https://github.com/golang/go
synced 2024-11-24 05:30:24 -07:00
[dev.ssa] cmd/compile/internal/gc: Fix constant shift generation
Change-Id: Ib142185de3f6e4d2f4983511c063492529d8fb8a Reviewed-on: https://go-review.googlesource.com/11656 Reviewed-by: Michael Matloob <michaelmatloob@gmail.com>
This commit is contained in:
parent
7b858018b3
commit
dbd83c4464
@ -963,6 +963,7 @@ func genValue(v *ssa.Value) {
|
||||
p.From.Type = obj.TYPE_CONST
|
||||
p.From.Offset = v.AuxInt
|
||||
p.To.Type = obj.TYPE_REG
|
||||
p.To.Reg = r
|
||||
case ssa.OpAMD64SBBQcarrymask:
|
||||
r := regnum(v)
|
||||
p := Prog(x86.ASBBQ)
|
||||
|
Loading…
Reference in New Issue
Block a user