Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SRDconst (0.31 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/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)
  3. 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)
Back to top