Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for archy (0.14 sec)

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

    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the
    // 64-bit PowerPC (PPC64) instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/ppc64"
    )
    
    func jumpPPC64(word string) bool {
    	switch word {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Sep 07 20:53:33 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/operand_test.go

    import (
    	"internal/buildcfg"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // A simple in-out test: Do we print what we parse?
    
    func setArch(goarch string) (*arch.Arch, *obj.Link) {
    	buildcfg.GOOS = "linux" // obj can handle this OS for all architectures.
    	buildcfg.GOARCH = goarch
    	architecture := arch.Set(goarch, false)
    	if architecture == nil {
    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)
  3. src/bootstrap.bash

    #
    # See also golang.org/x/build/cmd/genbootstrap, which is used
    # to generate bootstrap tgz files for builders.
    
    set -e
    
    if [ "$GOOS" = "" -o "$GOARCH" = "" ]; then
    	echo "usage: GOOS=os GOARCH=arch ./bootstrap.bash [-force]" >&2
    	exit 2
    fi
    
    forceflag=""
    if [ "$1" = "-force" ]; then
    	forceflag=-force
    	shift
    fi
    
    targ="../../go-${GOOS}-${GOARCH}-bootstrap"
    if [ -e $targ ]; then
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/arch.go

    // 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.
    
    // Package arch defines architecture-specific information and support functions.
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm"
    	"cmd/internal/obj/arm64"
    	"cmd/internal/obj/loong64"
    	"cmd/internal/obj/mips"
    	"cmd/internal/obj/ppc64"
    	"cmd/internal/obj/riscv"
    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)
  5. src/cmd/asm/internal/arch/arm.go

    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the ARM
    // instruction set, to minimize its interaction with the core of the
    // assembler.
    
    package arch
    
    import (
    	"strings"
    
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm"
    )
    
    var armLS = map[string]uint8{
    	"U":  arm.C_UBIT,
    	"S":  arm.C_SBIT,
    	"W":  arm.C_WBIT,
    	"P":  arm.C_PBIT,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/loong64.go

    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the
    // Loong64 (LoongArch64) instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/loong64"
    )
    
    func jumpLoong64(word string) bool {
    	switch word {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 06 13:49:53 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/cmd/asm/main.go

    	"log"
    	"os"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/asm"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    
    	buildcfg.Check()
    	GOARCH := buildcfg.GOARCH
    
    	flags.Parse()
    
    	architecture := arch.Set(GOARCH, *flags.Shared || *flags.Dynlink)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    			}
    			a.Index = r1
    			if scale != 0 && scale != 1 && (p.arch.Family == sys.ARM64 ||
    				p.arch.Family == sys.PPC64) {
    				// Support (R1)(R2) (no scaling) and (R1)(R2*1).
    				p.errorf("%s doesn't support scaled register format", p.arch.Name)
    			} else {
    				a.Scale = int16(scale)
    			}
    		}
    		p.get(')')
    	} else if scale != 0 {
    		if p.arch.Family == sys.ARM64 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    func (p *Package) gccMachine() []string {
    	switch goarch {
    	case "amd64":
    		if goos == "darwin" {
    			return []string{"-arch", "x86_64", "-m64"}
    		}
    		return []string{"-m64"}
    	case "arm64":
    		if goos == "darwin" {
    			return []string{"-arch", "arm64"}
    		}
    	case "386":
    		return []string{"-m32"}
    	case "arm":
    		return []string{"-marm"} // not thumb
    	case "s390":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/line_test.go

    	})
    }
    
    func testBadInstParser(t *testing.T, goarch string, tests []badInstTest) {
    	for i, test := range tests {
    		arch, ctxt := setArch(goarch)
    		tokenizer := lex.NewTokenizer("", strings.NewReader(test.input+"\n"), nil)
    		parser := NewParser(ctxt, arch, tokenizer)
    
    		err := tryParse(t, func() {
    			parser.Parse()
    		})
    
    		switch {
    		case err == nil:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top