[go-nuts] Re: Assembly jump instruction operands

2017-03-25 Thread 'Keith Randall' via golang-nuts
https://github.com/golang/go/issues/19718 On Saturday, March 25, 2017 at 4:42:31 PM UTC-7, Keith Randall wrote: > > I think you're talking about conditional branches > > 0x008c 00140 (s.go:7) JLT $0, 55 > > There is sometimes an optional constant $0 or $1 in addition to the > destination. $0 mea

[go-nuts] Re: Assembly jump instruction operands

2017-03-25 Thread 'Keith Randall' via golang-nuts
I think you're talking about conditional branches 0x008c 00140 (s.go:7) JLT $0, 55 There is sometimes an optional constant $0 or $1 in addition to the destination. $0 means the branch is considered unlikely. $1 means the branch is considered likely. There's really no reason why the assembly o