mirror of
https://github.com/golang/go
synced 2024-10-05 18:31:28 -06:00
[dev.ssa] cmd/compile: teach live variable analysis about LEAW
SSA uses this opcode, the old compiler doesn't. Change-Id: Ic3dde6216496b4b89d570584d34cb0971fdf379d Reviewed-on: https://go-review.googlesource.com/14330 Reviewed-by: Minux Ma <minux@golang.org>
This commit is contained in:
parent
24dcede1c0
commit
617e892b87
@ -116,6 +116,7 @@ var progtable = [x86.ALAST]obj.ProgInfo{
|
||||
x86.AJPL: {Flags: gc.Cjmp | gc.UseCarry},
|
||||
x86.AJPS: {Flags: gc.Cjmp | gc.UseCarry},
|
||||
obj.AJMP: {Flags: gc.Jump | gc.Break | gc.KillCarry},
|
||||
x86.ALEAW: {Flags: gc.LeftAddr | gc.RightWrite},
|
||||
x86.ALEAL: {Flags: gc.LeftAddr | gc.RightWrite},
|
||||
x86.ALEAQ: {Flags: gc.LeftAddr | gc.RightWrite},
|
||||
x86.AMOVBLSX: {Flags: gc.SizeL | gc.LeftRead | gc.RightWrite | gc.Conv},
|
||||
|
@ -152,6 +152,7 @@ var progtable = [x86.ALAST]obj.ProgInfo{
|
||||
x86.AJPL: {Flags: gc.Cjmp | gc.UseCarry},
|
||||
x86.AJPS: {Flags: gc.Cjmp | gc.UseCarry},
|
||||
obj.AJMP: {Flags: gc.Jump | gc.Break | gc.KillCarry},
|
||||
x86.ALEAW: {Flags: gc.LeftAddr | gc.RightWrite},
|
||||
x86.ALEAL: {Flags: gc.LeftAddr | gc.RightWrite},
|
||||
x86.AMOVBLSX: {Flags: gc.SizeL | gc.LeftRead | gc.RightWrite | gc.Conv},
|
||||
x86.AMOVBLZX: {Flags: gc.SizeL | gc.LeftRead | gc.RightWrite | gc.Conv},
|
||||
|
Loading…
Reference in New Issue
Block a user