Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for encodePPC64RotateMask (0.28 sec)

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

    }
    
    // Compress mask and shift into single value of the form
    // me | mb<<8 | rotate<<16 | nbits<<24 where me and mb can
    // be used to regenerate the input mask.
    func encodePPC64RotateMask(rotate, mask, nbits int64) int64 {
    	var mb, me, mbn, men int
    
    	// Determine boundaries and then decode them
    	if mask == 0 || ^mask == 0 || rotate >= nbits {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (ANDconst [m] (ROTLWconst [r] x)) && isPPC64WordRotateMask(m) => (RLWINM [encodePPC64RotateMask(r,m,32)] x)
    (AND (MOVDconst [m]) (ROTLWconst [r] x)) && isPPC64WordRotateMask(m) => (RLWINM [encodePPC64RotateMask(r,m,32)] x)
    (ANDconst [m] (ROTLW x r)) && isPPC64WordRotateMask(m) => (RLWNM [encodePPC64RotateMask(0,m,32)] x r)
    (AND (MOVDconst [m]) (ROTLW x r)) && isPPC64WordRotateMask(m) => (RLWNM [encodePPC64RotateMask(0,m,32)] x r)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top