Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for idivt (0.03 sec)

  1. test/codegen/arithmetic.go

    	// 386:"SHRL\t[$]5",-"DIVL"
    	// amd64:"SHRQ\t[$]5",-"DIVQ"
    	// arm:"SRL\t[$]5",-".*udiv"
    	// arm64:"LSR\t[$]5",-"UDIV"
    	// ppc64x:"SRD"
    	a := n1 / 32 // unsigned
    
    	// amd64:"SARQ\t[$]6",-"IDIVQ"
    	// 386:"SARL\t[$]6",-"IDIVL"
    	// arm:"SRA\t[$]6",-".*udiv"
    	// arm64:"ASR\t[$]6",-"SDIV"
    	// ppc64x:"SRAD"
    	b := n2 / 64 // signed
    
    	return a, b
    }
    
    // Check that constant divisions get turned into MULs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:28:00 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. src/internal/cpu/cpu_arm.go

    const (
    	hwcap_VFPv4 = 1 << 16
    	hwcap_IDIVA = 1 << 17
    	hwcap_LPAE  = 1 << 20
    )
    
    func doinit() {
    	options = []option{
    		{Name: "vfpv4", Feature: &ARM.HasVFPv4},
    		{Name: "idiva", Feature: &ARM.HasIDIVA},
    		{Name: "v7atomics", Feature: &ARM.HasV7Atomics},
    	}
    
    	// HWCAP feature bits
    	ARM.HasVFPv4 = isSet(HWCap, hwcap_VFPv4)
    	ARM.HasIDIVA = isSet(HWCap, hwcap_IDIVA)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:38:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/os/read_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer f.Close()
    	defer Remove(f.Name())
    
    	msg := "Programming today is a race between software engineers striving to " +
    		"build bigger and better idiot-proof programs, and the Universe trying " +
    		"to produce bigger and better idiots. So far, the Universe is winning."
    
    	if err := WriteFile(f.Name(), []byte(msg), 0644); err != nil {
    		t.Fatalf("WriteFile %s: %v", f.Name(), err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 02:36:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/net/mail/message_test.go

    		exp  string
    	}{
    		{
    			&Address{Address: "******@****.***"},
    			"<******@****.***>",
    		},
    		{ // quoted local parts: RFC 5322, 3.4.1. and 3.2.4.
    			&Address{Address: `my@idiot@******@****.***`},
    			`<"my@idiot@address"@example.com>`,
    		},
    		{ // quoted local parts
    			&Address{Address: ` @example.com`},
    			`<" "@example.com>`,
    		},
    		{
    			&Address{Name: "Bob", Address: "******@****.***"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top