Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for MIPS (0.2 sec)

  1. src/cmd/asm/internal/arch/mips.go

    func IsMIPSMUL(op obj.As) bool {
    	switch op {
    	case mips.AMUL, mips.AMULU, mips.AMULV, mips.AMULVU,
    		mips.ADIV, mips.ADIVU, mips.ADIVV, mips.ADIVVU,
    		mips.AREM, mips.AREMU, mips.AREMV, mips.AREMVU,
    		mips.AMADD, mips.AMSUB:
    		return true
    	}
    	return false
    }
    
    func mipsRegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "F":
    		if 0 <= n && n <= 31 {
    			return mips.REG_F0 + n, true
    		}
    	case "FCR":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 04 19:06:44 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arch.go

    	// Note that there is no list of names as there is for x86.
    	for i := mips.REG_R0; i <= mips.REG_R31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    
    	for i := mips.REG_F0; i <= mips.REG_F31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := mips.REG_M0; i <= mips.REG_M31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := mips.REG_FCR0; i <= mips.REG_FCR31; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/endtoend_test.go

    	testErrors(t, "amd64", "amd64error")
    }
    
    func TestAMD64DynLinkErrors(t *testing.T) {
    	testErrors(t, "amd64", "amd64dynlinkerror", "dynlink")
    }
    
    func TestMIPSEndToEnd(t *testing.T) {
    	testEndToEnd(t, "mips", "mips")
    	testEndToEnd(t, "mips64", "mips64")
    }
    
    func TestLOONG64Encoder(t *testing.T) {
    	testEndToEnd(t, "loong64", "loong64enc1")
    	testEndToEnd(t, "loong64", "loong64enc2")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    				reg, success := ppc64.ConstantToCRbit(c)
    				if !success {
    					p.errorf("invalid CR bit register number %d", c)
    				}
    				prog.Reg = reg
    			}
    			break
    		}
    		if p.arch.Family == sys.MIPS || p.arch.Family == sys.MIPS64 || p.arch.Family == sys.RISCV64 {
    			// 3-operand jumps.
    			// First two must be registers
    			target = &a[2]
    			prog.From = a[0]
    			prog.Reg = p.getRegister(prog, op, &a[1])
    			break
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue18146.go

    		t.Skip("skipping in short mode")
    	}
    
    	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    		t.Skipf("skipping flaky test on %s; see golang.org/issue/18202", runtime.GOOS)
    	}
    
    	if runtime.GOARCH == "mips" || runtime.GOARCH == "mips64" {
    		t.Skipf("skipping on %s", runtime.GOARCH)
    	}
    
    	attempts := 1000
    	threads := 4
    
    	// Restrict the number of attempts based on RLIMIT_NPROC.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/operand_test.go

    }
    
    func TestPPC64OperandParser(t *testing.T) {
    	parser := newParser("ppc64")
    	testOperandParser(t, parser, ppc64OperandTests)
    }
    
    func TestMIPSOperandParser(t *testing.T) {
    	parser := newParser("mips")
    	testOperandParser(t, parser, mipsOperandTests)
    }
    
    func TestMIPS64OperandParser(t *testing.T) {
    	parser := newParser("mips64")
    	testOperandParser(t, parser, mips64OperandTests)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	case "mips64", "mips64le":
    		if gomips64 == "hardfloat" {
    			return []string{"-mabi=64", "-mhard-float"}
    		} else if gomips64 == "softfloat" {
    			return []string{"-mabi=64", "-msoft-float"}
    		}
    	case "mips", "mipsle":
    		if gomips == "hardfloat" {
    			return []string{"-mabi=32", "-mfp32", "-mhard-float", "-mno-odd-spreg"}
    		} else if gomips == "softfloat" {
    			return []string{"-mabi=32", "-msoft-float"}
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top