Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mergePPC64AndRlwinm (0.19 sec)

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

    (MOVBZreg (RLWINM [r] y)) && mergePPC64AndRlwinm(0xFF,r) != 0 => (RLWINM [mergePPC64AndRlwinm(0xFF,r)] y)
    (MOVHZreg (RLWINM [r] y)) && mergePPC64AndRlwinm(0xFFFF,r) != 0 => (RLWINM [mergePPC64AndRlwinm(0xFFFF,r)] y)
    (MOVWZreg (RLWINM [r] y)) && mergePPC64MovwzregRlwinm(r) != 0 => (RLWINM [mergePPC64MovwzregRlwinm(r)] y)
    (ANDconst [m] (RLWINM [r] y)) && mergePPC64AndRlwinm(uint32(m),r) != 0 => (RLWINM [mergePPC64AndRlwinm(uint32(m),r)] y)
    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/rewrite.go

    	}
    	return encodePPC64RotateMask(r_3, int64(mask_3), 32)
    }
    
    // Test if RLWINM feeding into an ANDconst can be merged. Return the encoded RLWINM constant,
    // or 0 if they cannot be merged.
    func mergePPC64AndRlwinm(mask uint32, rlw int64) int64 {
    	r, _, _, mask_rlw := DecodePPC64RotateMask(rlw)
    	mask_out := (mask_rlw & uint64(mask))
    
    	// Verify the result is still a valid bitmask of <= 32 bits.
    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