Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SRDconst (0.14 sec)

  1. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (MOV(BZ|B)reg (S(R|RA)Wconst [c] x)) && sizeof(x.Type) == 8 => (S(R|RA)Wconst [c] x)
    
    // initial right shift will handle sign/zero extend
    (MOVBZreg (SRDconst [c] x)) && c>=56 => (SRDconst [c] x)
    (MOVBreg (SRDconst [c] x)) && c>56 => (SRDconst [c] x)
    (MOVBreg (SRDconst [c] x)) && c==56 => (SRADconst [c] x)
    (MOVBreg (SRADconst [c] x)) && c>=56 => (SRADconst [c] x)
    (MOVBZreg (SRWconst [c] x)) && c>=24 => (SRWconst [c] x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    (AND x:(MOVDconst [m]) n) && m != 0 && isPPC64ValidShiftMask(^m) => (RLDICR [encodePPC64RotateMask(0,m,64)] n)
    
    // If the RLDICL does not rotate its value, a shifted value can be merged.
    (RLDICL [em] x:(SRDconst [s] a)) && (em&0xFF0000) == 0 => (RLDICL [mergePPC64RLDICLandSRDconst(em, s)] a)
    
    // Convert rotated 32 bit masks on 32 bit values into rlwinm. In general, this leaves the upper 32 bits in an undefined state.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    		v.AuxInt = int32ToAuxInt(a ^ 0x4)
    		v.AddArg2(y, z)
    		return true
    	}
    	return false
    }
    func rewriteValuePPC64latelower_OpPPC64RLDICL(v *Value) bool {
    	v_0 := v.Args[0]
    	// match: (RLDICL [em] x:(SRDconst [s] a))
    	// cond: (em&0xFF0000) == 0
    	// result: (RLDICL [mergePPC64RLDICLandSRDconst(em, s)] a)
    	for {
    		em := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if x.Op != OpPPC64SRDconst {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritePPC64.go

    		if !(sizeof(x.Type) == 8) {
    			break
    		}
    		v.reset(OpPPC64SRWconst)
    		v.AuxInt = int64ToAuxInt(c)
    		v.AddArg(x)
    		return true
    	}
    	// match: (MOVBZreg (SRDconst [c] x))
    	// cond: c>=56
    	// result: (SRDconst [c] x)
    	for {
    		if v_0.Op != OpPPC64SRDconst {
    			break
    		}
    		c := auxIntToInt64(v_0.AuxInt)
    		x := v_0.Args[0]
    		if !(c >= 56) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    		mb, me = men, mbn
    	}
    
    	return int64(me) | int64(mb<<8) | int64(rotate<<16) | int64(nbits<<24)
    }
    
    // Merge (RLDICL [encoded] (SRDconst [s] x)) into (RLDICL [new_encoded] x)
    // SRDconst on PPC64 is an extended mnemonic of RLDICL. If the input to an
    // RLDICL is an SRDconst, and the RLDICL does not rotate its value, the two
    // operations can be combined. This functions assumes the two opcodes can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "SRAWconst", argLength: 1, reg: gp11cxer, asm: "SRAW", aux: "Int64"}, // signed arg0 >> auxInt, 0 <= auxInt < 32, 32 bit width
    		{name: "SRDconst", argLength: 1, reg: gp11, asm: "SRD", aux: "Int64"},       // unsigned arg0 >> auxInt, 0 <= auxInt < 64, 64 bit width
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/opGen.go

    			outputs: []outputInfo{
    				{0, 1073733624}, // R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R14 R15 R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27 R28 R29
    			},
    		},
    	},
    	{
    		name:    "SRDconst",
    		auxType: auxInt64,
    		argLen:  1,
    		asm:     ppc64.ASRD,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top