Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for SGTU (0.12 sec)

  1. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (Round(32|64)F ...) => (Copy ...)
    
    // comparisons
    (Eq8 x y)  => (SGTU (MOVVconst [1]) (XOR (ZeroExt8to64 x) (ZeroExt8to64 y)))
    (Eq16 x y) => (SGTU (MOVVconst [1]) (XOR (ZeroExt16to64 x) (ZeroExt16to64 y)))
    (Eq32 x y) => (SGTU (MOVVconst [1]) (XOR (ZeroExt32to64 x) (ZeroExt32to64 y)))
    (Eq64 x y) => (SGTU (MOVVconst [1]) (XOR x y))
    (EqPtr x y) => (SGTU (MOVVconst [1]) (XOR x y))
    (Eq(32|64)F x y) => (FPFlagTrue (CMPEQ(F|D) x y))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    (Round(32|64)F ...) => (Copy ...)
    
    // comparisons
    (Eq8 x y)  => (SGTU (MOVVconst [1]) (XOR (ZeroExt8to64 x) (ZeroExt8to64 y)))
    (Eq16 x y) => (SGTU (MOVVconst [1]) (XOR (ZeroExt16to64 x) (ZeroExt16to64 y)))
    (Eq32 x y) => (SGTU (MOVVconst [1]) (XOR (ZeroExt32to64 x) (ZeroExt32to64 y)))
    (Eq64 x y) => (SGTU (MOVVconst [1]) (XOR x y))
    (EqPtr x y) => (SGTU (MOVVconst [1]) (XOR x y))
    (Eq(32|64)F x y) => (FPFlagTrue (CMPEQ(F|D) x y))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/memmove_loong64.s

    TEXT runtime·memmove<ABIInternal>(SB), NOSPLIT|NOFRAME, $0-24
    	BNE	R6, check
    	RET
    
    check:
    	SGTU	R4, R5, R7
    	BNE	R7, backward
    
    	ADDV	R4, R6, R9 // end pointer
    
    	// if the two pointers are not of same alignments, do byte copying
    	SUBVU	R5, R4, R7
    	AND	$7, R7
    	BNE	R7, out
    
    	// if less than 8 bytes, do byte copying
    	SGTU	$8, R6, R7
    	BNE	R7, out
    
    	// do one byte at a time until 8-aligned
    	AND	$7, R4, R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/internal/bytealg/compare_loong64.s

    byte_loop:
    	BEQ	R4, R12, samebytes
    	MOVBU	(R4), R8
    	ADDVU	$1, R4
    	MOVBU	(R6), R9
    	ADDVU	$1, R6
    	BEQ	R8, R9, byte_loop
    
    byte_cmp:
    	SGTU	R8, R9, R4 // R12 = 1 if (R8 > R9)
    	BNE	R0, R4, ret
    	MOVV	$-1, R4
    	JMP	ret
    
    samebytes:
    	SGTU	R5, R7, R8
    	SGTU	R7, R5, R9
    	SUBV	R9, R8, R4
    
    ret:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/runtime/memclr_loong64.s

    	ADDV	R4, R5, R6
    
    	// if less than 8 bytes, do one byte at a time
    	SGTU	$8, R5, R8
    	BNE	R8, out
    
    	// do one byte at a time until 8-aligned
    	AND	$7, R4, R8
    	BEQ	R8, words
    	MOVB	R0, (R4)
    	ADDV	$1, R4
    	JMP	-4(PC)
    
    words:
    	// do 8 bytes at a time if there is room
    	ADDV	$-7, R6, R5
    
    	PCALIGN	$16
    	SGTU	R5, R4, R8
    	BEQ	R8, out
    	MOVV	R0, (R4)
    	ADDV	$8, R4
    	JMP	-4(PC)
    
    out:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 766 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	// match: (IsInBounds idx len)
    	// result: (SGTU len idx)
    	for {
    		idx := v_0
    		len := v_1
    		v.reset(OpLOONG64SGTU)
    		v.AddArg2(len, idx)
    		return true
    	}
    }
    func rewriteValueLOONG64_OpIsNonNil(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (IsNonNil ptr)
    	// result: (SGTU ptr (MOVVconst [0]))
    	for {
    		ptr := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	// match: (IsInBounds idx len)
    	// result: (SGTU len idx)
    	for {
    		idx := v_0
    		len := v_1
    		v.reset(OpMIPS64SGTU)
    		v.AddArg2(len, idx)
    		return true
    	}
    }
    func rewriteValueMIPS64_OpIsNonNil(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (IsNonNil ptr)
    	// result: (SGTU ptr (MOVVconst [0]))
    	for {
    		ptr := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/mips/anames.go

    	"MULU",
    	"MULW",
    	"NEGD",
    	"NEGF",
    	"NEGW",
    	"NEGV",
    	"NOOP",
    	"NOR",
    	"OR",
    	"REM",
    	"REMU",
    	"RFE",
    	"ROTR",
    	"ROTRV",
    	"SC",
    	"SCV",
    	"SEB",
    	"SEH",
    	"SGT",
    	"SGTU",
    	"SLL",
    	"SQRTD",
    	"SQRTF",
    	"SRA",
    	"SRL",
    	"SUB",
    	"SUBD",
    	"SUBF",
    	"SUBU",
    	"SUBW",
    	"SYNC",
    	"SYSCALL",
    	"TEQ",
    	"TLBP",
    	"TLBR",
    	"TLBWI",
    	"TLBWR",
    	"TNE",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/loong64/anames.go

    	"MULD",
    	"MULF",
    	"MULU",
    	"MULH",
    	"MULHU",
    	"MULW",
    	"NEGD",
    	"NEGF",
    	"NEGW",
    	"NEGV",
    	"NOOP",
    	"NOR",
    	"OR",
    	"REM",
    	"REMU",
    	"RFE",
    	"SC",
    	"SCV",
    	"SGT",
    	"SGTU",
    	"SLL",
    	"SQRTD",
    	"SQRTF",
    	"SRA",
    	"SRL",
    	"ROTR",
    	"SUB",
    	"SUBD",
    	"SUBF",
    	"SUBU",
    	"SUBW",
    	"DBAR",
    	"SYSCALL",
    	"TEQ",
    	"TNE",
    	"WORD",
    	"XOR",
    	"MASKEQZ",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top