// gins is called by the front end. // It synthesizes some multiple-instruction sequences // so the front end can stay simpler. func gins(as int, f, t *gc.Node) *obj.Prog { if as >= obj.A_ARCHSPECIFIC { if x, ok := f.IntLiteral(); ok { ginscon(as, x, t) return nil // caller must not use } } return rawgins(as, f, t) }
// gins is called by the front end. // It synthesizes some multiple-instruction sequences // so the front end can stay simpler. func gins(as obj.As, f, t *gc.Node) *obj.Prog { if as >= obj.A_ARCHSPECIFIC { if x, ok := f.IntLiteral(); ok { ginscon(as, x, t) return nil // caller must not use } } if as == ppc64.ACMP || as == ppc64.ACMPU { if x, ok := t.IntLiteral(); ok { ginscon2(as, f, x) return nil // caller must not use } } return rawgins(as, f, t) }