Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ppc64 (0.02 sec)

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

    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_CR0; i <= ppc64.REG_CR7; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_MSR; i <= ppc64.REG_CR; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	for i := ppc64.REG_CR0LT; i <= ppc64.REG_CR7SO; i++ {
    		register[obj.Rconv(i)] = int16(i)
    	}
    	register["CR"] = ppc64.REG_CR
    	register["XER"] = ppc64.REG_XER
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/asm.go

    		} else {
    			p.branch(targetAddr, targetProg)
    		}
    	case target.Type == obj.TYPE_MEM && target.Name == obj.NAME_NONE:
    		// JMP 4(R0)
    		*targetAddr = *target
    		// On the ppc64, 9a encodes BR (CTR) as BR CTR. We do the same.
    		if p.arch.Family == sys.PPC64 && target.Offset == 0 {
    			targetAddr.Type = obj.TYPE_REG
    		}
    	case target.Type == obj.TYPE_CONST:
    		// JMP $4
    		*targetAddr = a[0]
    	case target.Type == obj.TYPE_NONE:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/endtoend_test.go

    	for _, goppc64 := range []int{8, 9, 10} {
    		t.Logf("GOPPC64=power%d", goppc64)
    		buildcfg.GOPPC64 = goppc64
    		// Some pseudo-ops may assemble differently depending on GOPPC64
    		testEndToEnd(t, "ppc64", "ppc64")
    		testEndToEnd(t, "ppc64", "ppc64_p10")
    	}
    }
    
    func TestRISCVEndToEnd(t *testing.T) {
    	testEndToEnd(t, "riscv64", "riscv64")
    }
    
    func TestRISCVErrors(t *testing.T) {
    	testErrors(t, "riscv64", "riscv64error")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    				p.errorf("illegal address mode for register pair")
    				return
    			}
    			a.Type = obj.TYPE_REGREG
    			a.Offset = int64(r2)
    			// Nothing may follow
    			return
    		}
    		if p.arch.Family == sys.PPC64 {
    			// Special form for PPC64: (R1+R2); alias for (R1)(R2).
    			if prefix != 0 || scale != 0 {
    				p.errorf("illegal address mode for register+register")
    				return
    			}
    			a.Type = obj.TYPE_MEM
    			a.Scale = 0
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. doc/asm.html

    </ul>
    
    <p>
    Reference: <a href="/pkg/cmd/internal/obj/arm64">Go ARM64 Assembly Instructions Reference Manual</a>
    </p>
    
    <h3 id="ppc64">PPC64</h3>
    
    <p>
    This assembler is used by GOARCH values ppc64 and ppc64le.
    </p>
    
    <p>
    Reference: <a href="/pkg/cmd/internal/obj/ppc64">Go PPC64 Assembly Instructions Reference Manual</a>
    </p>
    
    <h3 id="s390x">IBM z/Architecture, a.k.a. s390x</h3>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/ppc64_p10.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This contains the valid opcode combinations available
    // in cmd/internal/obj/ppc64/asm9.go which exist for
    // POWER10/ISA 3.1.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB), DUPOK|NOSPLIT, $0
    	BRD R1, R2                              // 7c220176
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 23 20:52:57 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/operand_test.go

    }
    func TestARM64OperandParser(t *testing.T) {
    	parser := newParser("arm64")
    	testOperandParser(t, parser, arm64OperandTests)
    }
    
    func TestPPC64OperandParser(t *testing.T) {
    	parser := newParser("ppc64")
    	testOperandParser(t, parser, ppc64OperandTests)
    }
    
    func TestMIPSOperandParser(t *testing.T) {
    	parser := newParser("mips")
    	testOperandParser(t, parser, mipsOperandTests)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/mips64.s

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This input was created by taking the ppc64 testcase and modified
    // by hand.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    //
    // branch
    //
    //	LBRA rel
    //	{
    //		outcode(int($1), &nullgen, 0, &$2);
    //	}
    	BEQ	R1, 2(PC)
    label0:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top