Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Bswap32 (0.22 sec)

  1. src/cmd/compile/internal/ssa/rewritePPC64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Bswap32 x)
    	// cond: buildcfg.GOPPC64>=10
    	// result: (BRW x)
    	for {
    		x := v_0
    		if !(buildcfg.GOPPC64 >= 10) {
    			break
    		}
    		v.reset(OpPPC64BRW)
    		v.AddArg(x)
    		return true
    	}
    	// match: (Bswap32 x:(MOVWZload [off] {sym} ptr mem))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    		// make it worthwhile as an intrinsic
    		brev_arch = append(brev_arch, sys.PPC64)
    	}
    	/******** runtime/internal/sys ********/
    	addF("runtime/internal/sys", "Bswap32",
    		func(s *state, n *ir.CallExpr, args []*ssa.Value) *ssa.Value {
    			return s.newValue1(ssa.OpBswap32, types.Types[types.TUINT32], args[0])
    		},
    		brev_arch...)
    	addF("runtime/internal/sys", "Bswap64",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteARM.go

    		v0 := b.NewValue0(v.Pos, OpARMCLZ, t)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueARM_OpBswap32(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (Bswap32 <t> x)
    	// cond: buildcfg.GOARM.Version==5
    	// result: (XOR <t> (SRLconst <t> (BICconst <t> (XOR <t> x (SRRconst <t> [16] x)) [0xff0000]) [8]) (SRRconst <t> x [8]))
    	for {
    		t := v.Type
    		x := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
Back to top