Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rshConst32Ux64 (0.25 sec)

  1. test/codegen/shift.go

    }
    
    func lshConst32x64(v int32) int32 {
    	// ppc64x:"SLW"
    	// riscv64:"SLLI",-"AND",-"SLTIU", -"MOVW"
    	return v << uint64(29)
    }
    
    func rshConst32Ux64(v uint32) uint32 {
    	// ppc64x:"SRW"
    	// riscv64:"SRLIW",-"AND",-"SLTIU", -"MOVW"
    	return v >> uint64(29)
    }
    
    func rshConst32x64(v int32) int32 {
    	// ppc64x:"SRAW"
    	// riscv64:"SRAIW",-"OR",-"SLTIU", -"MOVW"
    	return v >> uint64(29)
    }
    
    func lshConst64x32(v int64) int64 {
    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