Commit dbd83c44 authored by Keith Randall's avatar Keith Randall

[dev.ssa] cmd/compile/internal/gc: Fix constant shift generation

Change-Id: Ib142185de3f6e4d2f4983511c063492529d8fb8a
Reviewed-on: https://go-review.googlesource.com/11656Reviewed-by: 's avatarMichael Matloob <michaelmatloob@gmail.com>
parent 7b858018
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment