Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for LOONG64 (0.08 sec)

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

    func IsLoong64MUL(op obj.As) bool {
    	switch op {
    	case loong64.AMUL, loong64.AMULU, loong64.AMULV, loong64.AMULVU,
    		loong64.ADIV, loong64.ADIVU, loong64.ADIVV, loong64.ADIVVU,
    		loong64.AREM, loong64.AREMU, loong64.AREMV, loong64.AREMVU:
    		return true
    	}
    	return false
    }
    
    // IsLoong64RDTIME reports whether the op (as defined by an loong64.A*
    // constant) is one of the RDTIMELW/RDTIMEHW/RDTIMED instructions that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. test/codegen/mathbits.go

    	// amd64:"NEGL","ADCQ","SBBQ","NEGQ"
    	// loong64: "ADDV", "SGTU"
    	// ppc64x: "ADDC", "ADDE", "ADDZE"
    	// s390x:"ADDE","ADDC\t[$]-1,"
    	// mips64:"ADDV","SGTU"
    	// riscv64: "ADD","SLTU"
    	return bits.Add(x, 7, ci)
    }
    
    func AddZ(x, y uint) (r, co uint) {
    	// arm64:"ADDS","ADC",-"ADCS",-"ADD\t",-"CMP"
    	// amd64:"ADDQ","SBBQ","NEGQ",-"NEGL",-"ADCQ"
    	// loong64: "ADDV", "SGTU"
    	// ppc64x: "ADDC", -"ADDE", "ADDZE"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:51:17 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loong64/obj.go

    // Copyright 2022 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 loong64
    
    import (
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"cmd/link/internal/ld"
    )
    
    func Init() (*sys.Arch, ld.Arch) {
    	arch := sys.ArchLoong64
    
    	theArch := ld.Arch{
    		Funcalign:        funcAlign,
    		Maxalign:         maxAlign,
    		Minalign:         minAlign,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 13:49:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/internal/syscall/unix/sysnum_linux_generic.go

    // license that can be found in the LICENSE file.
    
    //go:build linux && (arm64 || loong64 || riscv64)
    
    package unix
    
    // This file is named "generic" because at a certain point Linux started
    // standardizing on system call numbers across architectures. So far this
    // means only arm64 loong64 and riscv64 use the standard numbers.
    
    const (
    	getrandomTrap       uintptr = 278
    	copyFileRangeTrap   uintptr = 285
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 589 bytes
    - Viewed (0)
  5. src/cmd/internal/obj/loong64/anames.go

    // Code generated by stringer -i a.out.go -o anames.go -p loong64; DO NOT EDIT.
    
    package loong64
    
    import "cmd/internal/obj"
    
    var Anames = []string{
    	obj.A_ARCHSPECIFIC: "ABSD",
    	"ABSF",
    	"ADD",
    	"ADDD",
    	"ADDF",
    	"ADDU",
    	"ADDW",
    	"AND",
    	"BEQ",
    	"BGEZ",
    	"BLEZ",
    	"BGTZ",
    	"BLTZ",
    	"BFPF",
    	"BFPT",
    	"BNE",
    	"BREAK",
    	"CLO",
    	"CLZ",
    	"CMPEQD",
    	"CMPEQF",
    	"CMPGED",
    	"CMPGEF",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/loong64/a.out.go

    // Copyright 2022 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 loong64
    
    import (
    	"cmd/internal/obj"
    )
    
    //go:generate go run ../stringer.go -i $GOFILE -o anames.go -p loong64
    
    const (
    	NSNAME = 8
    	NSYM   = 50
    	NREG   = 32 // number of general registers
    	NFREG  = 32 // number of floating point registers
    )
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. buildscripts/checkdeps.sh

    		fi
    	done
    
    	return 0
    }
    
    assert_is_supported_arch() {
    	case "${ARCH}" in
    	x86_64 | amd64 | aarch64 | ppc64le | arm* | s390x | loong64 | loongarch64)
    		return
    		;;
    	*)
    		echo "Arch '${ARCH}' is not supported. Supported Arch: [x86_64, amd64, aarch64, ppc64le, arm*, s390x, loong64, loongarch64]"
    		exit 1
    		;;
    	esac
    }
    
    assert_is_supported_os() {
    	case "${KNAME}" in
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/internal/bytealg/compare_generic.go

    // Copyright 2018 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.
    
    //go:build !386 && !amd64 && !s390x && !arm && !arm64 && !loong64 && !ppc64 && !ppc64le && !mips && !mipsle && !wasm && !mips64 && !mips64le && !riscv64
    
    package bytealg
    
    import _ "unsafe" // for go:linkname
    
    func Compare(a, b []byte) int {
    	l := len(a)
    	if len(b) < l {
    		l = len(b)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/asm.go

    				prog.From = a[0]
    				prog.Reg = p.getRegister(prog, op, &a[1])
    				break
    			}
    		} else if p.arch.Family == sys.Loong64 {
    			if arch.IsLoong64CMP(op) {
    				prog.From = a[0]
    				prog.Reg = p.getRegister(prog, op, &a[1])
    				break
    			}
    
    			if arch.IsLoong64RDTIME(op) {
    				// The Loong64 RDTIME family of instructions is a bit special,
    				// in that both its register operands are outputs
    				prog.To = a[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. src/cmd/dist/test.go

    				// -static in CGO_LDFLAGS triggers a different code path
    				// than -static in -extldflags, so test both.
    				// See issue #16651.
    				if goarch != "loong64" {
    					// TODO(#56623): Why does this fail on loong64?
    					cgoTest("auto-static", "test", "auto", "static", staticCheck)
    				}
    			}
    
    			// PIE linking tests
    			if t.supportedBuildmode("pie") && !disablePIE {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top