Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lshMask64x64 (0.26 sec)

  1. test/codegen/shift.go

    func rshConst64x32(v int64) int64 {
    	// ppc64x:"SRAD"
    	// riscv64:"SRAI\t",-"OR",-"SLTIU"
    	return v >> uint32(33)
    }
    
    // ------------------ //
    //   masked shifts    //
    // ------------------ //
    
    func lshMask64x64(v int64, s uint64) int64 {
    	// arm64:"LSL",-"AND"
    	// ppc64x:"RLDICL",-"ORN",-"ISEL"
    	// riscv64:"SLL",-"AND\t",-"SLTIU"
    	// s390x:-"RISBGZ",-"AND",-"LOCGR"
    	return v << (s & 63)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top