Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for constantCheck64 (0.19 sec)

  1. test/codegen/math.go

    	// mips64/hardfloat:"MOVW\tR.*, F.*"
    	return math.Float32frombits(u32+1) + 1
    }
    
    // Test that comparisons with constants converted to float
    // are evaluated at compile-time
    
    func constantCheck64() bool {
    	// amd64:"(MOVB\t[$]0)|(XORL\t[A-Z][A-Z0-9]+, [A-Z][A-Z0-9]+)",-"FCMP",-"MOVB\t[$]1"
    	// s390x:"MOV(B|BZ|D)\t[$]0,",-"FCMPU",-"MOV(B|BZ|D)\t[$]1,"
    	return 0.5 == float64(uint32(1)) || 1.5 > float64(uint64(1<<63))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top