Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ConstantLoad (0.08 sec)

  1. test/codegen/strings.go

    	// amd64:`LEAQ\ttype:\[3\]uint8`
    	// amd64:`CALL\truntime\.newobject`
    	// amd64:-`.*runtime.stringtoslicebyte`
    	return []byte("foo")
    }
    
    // Loading from read-only symbols should get transformed into constants.
    func ConstantLoad() {
    	// 12592 = 0x3130
    	//    50 = 0x32
    	// amd64:`MOVW\t\$12592, \(`,`MOVB\t\$50, 2\(`
    	//   386:`MOVW\t\$12592, \(`,`MOVB\t\$50, 2\(`
    	//   arm:`MOVW\t\$48`,`MOVW\t\$49`,`MOVW\t\$50`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:17:28 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top