Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for SUBV (0.03 sec)

  1. src/internal/bytealg/compare_loong64.s

    	SUBVU	$1, R14
    	BEQ	R16, R17, chunk16_loop
    	SUBV	$8, R4
    	SUBV	$8, R6
    
    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)
  2. test/codegen/mathbits.go

    	// arm64:"NEGS","SBCS","NGC","NEG",-"ADD",-"SUB",-"CMP"
    	// loong64:"SUBV","SGTU"
    	// ppc64x:"SUBC", "SUBE", "SUBZE", "NEG"
    	// s390x:"SUBE"
    	// mips64:"SUBV","SGTU"
    	// riscv64: "SUB","SLTU"
    	return bits.Sub(x, y, ci)
    }
    
    func SubC(x, ci uint) (r, co uint) {
    	// amd64:"NEGL","SBBQ","NEGQ"
    	// arm64:"NEGS","SBCS","NGC","NEG",-"ADD",-"SUB",-"CMP"
    	// loong64:"SUBV","SGTU"
    	// ppc64x:"SUBC", "SUBE", "SUBZE", "NEG"
    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/internal/bytealg/indexbyte_loong64.s

    	AND	$0xff, R7
    	MOVV	R4, R6		// store base for later
    	ADDV	R4, R5		// end
    	ADDV	$-1, R4
    
    	PCALIGN	$16
    loop:
    	ADDV	$1, R4
    	BEQ	R4, R5, notfound
    	MOVBU	(R4), R8
    	BNE	R7, R8, loop
    
    	SUBV	R6, R4		// remove base
    	RET
    
    notfound:
    	MOVV	$-1, R4
    	RET
    
    TEXT ·IndexByteString<ABIInternal>(SB),NOSPLIT,$0-32
    	// R4 = s_base
    	// R5 = s_len
    	// R6 = byte to find
    	MOVV	R4, R7		// store base for later
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 905 bytes
    - Viewed (0)
  4. src/encoding/json/decode.go

    								d.saveError(fmt.Errorf("json: cannot set embedded pointer to unexported struct: %v", subv.Type().Elem()))
    								// Invalidate subv to ensure d.value(subv) skips over
    								// the JSON value without assigning it to subv.
    								subv = reflect.Value{}
    								destring = false
    								break
    							}
    							subv.Set(reflect.New(subv.Type().Elem()))
    						}
    						subv = subv.Elem()
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/mips64.s

    	SUB	R6, R26, R27	// 0346d822
    	SUBU	R6, R26, R27	// 0346d823
    	SUBV	R16, R17, R26	// 0230d02e
    	SUBVU	R16, R17, R26	// 0230d02f
    
    //	LSUBW imm ',' sreg ',' rreg
    //	{
    //		outcode(int($1), &$2, int($4), &$6);
    //	}
    	SUB	$-3126, R17, R22	// 22360c36
    	SUB	$3126, R17, R22		// 2236f3ca
    	SUBU	$16384, R17, R12	// 262cc000
    	SUBV	$-6122, R10, R9		// 614917ea
    	SUBV	$6122, R10, R9		// 6149e816
    	SUBVU	$1203, R17, R12		// 662cfb4d
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/mips/anames.go

    	"WORD",
    	"WSBH",
    	"XOR",
    	"MOVV",
    	"MOVVL",
    	"MOVVR",
    	"SLLV",
    	"SRAV",
    	"SRLV",
    	"DIVV",
    	"DIVVU",
    	"REMV",
    	"REMVU",
    	"MULV",
    	"MULVU",
    	"ADDV",
    	"ADDVU",
    	"SUBV",
    	"SUBVU",
    	"DSBH",
    	"DSHD",
    	"TRUNCFV",
    	"TRUNCDV",
    	"TRUNCFW",
    	"TRUNCDW",
    	"MOVWU",
    	"MOVFV",
    	"MOVDV",
    	"MOVVF",
    	"MOVVD",
    	"VMOVB",
    	"VMOVH",
    	"VMOVW",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/loong64/anames.go

    	"MOVVL",
    	"MOVVR",
    	"SLLV",
    	"SRAV",
    	"SRLV",
    	"ROTRV",
    	"DIVV",
    	"DIVVU",
    	"REMV",
    	"REMVU",
    	"MULV",
    	"MULVU",
    	"MULHV",
    	"MULHVU",
    	"ADDV",
    	"ADDVU",
    	"SUBV",
    	"SUBVU",
    	"TRUNCFV",
    	"TRUNCDV",
    	"TRUNCFW",
    	"TRUNCDW",
    	"MOVWU",
    	"MOVFV",
    	"MOVDV",
    	"MOVVF",
    	"MOVVD",
    	"AMSWAPB",
    	"AMSWAPH",
    	"AMSWAPW",
    	"AMSWAPV",
    	"AMCASB",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    	(OR (SGTU <t> x s:(ADDV <t> x y)) (SGTU <t> s (ADDV <t> s c)))
    
    (Select0 <t> (Sub64borrow x y c)) => (SUBV (SUBV <t> x y) c)
    (Select1 <t> (Sub64borrow x y c)) =>
    	(OR (SGTU <t> s:(SUBV <t> x y) x) (SGTU <t> (SUBV <t> s c) s))
    
    // (x + y) / 2 with x>=y => (x - y) / 2 + y
    (Avg64u <t> x y) => (ADDV (SRLVconst <t> (SUBV <t> x y) [1]) y)
    
    (And(64|32|16|8) ...) => (AND ...)
    (Or(64|32|16|8) ...) => (OR ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    (Select0 <t> (Sub64borrow x y c)) => (SUBV (SUBV <t> x y) c)
    (Select1 <t> (Sub64borrow x y c)) =>
    	(OR (SGTU <t> s:(SUBV <t> x y) x) (SGTU <t> (SUBV <t> s c) s))
    
    // math package intrinsics
    (Abs ...) => (ABSD ...)
    
    // (x + y) / 2 with x>=y => (x - y) / 2 + y
    (Avg64u <t> x y) => (ADDV (SRLVconst <t> (SUBV <t> x y) [1]) y)
    
    (And(64|32|16|8) ...) => (AND ...)
    (Or(64|32|16|8) ...) => (OR ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  10. src/runtime/preempt_loong64.s

    // Code generated by mkpreempt.go; DO NOT EDIT.
    
    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0
    	MOVV R1, -480(R3)
    	SUBV $480, R3
    	MOVV R4, 8(R3)
    	MOVV R5, 16(R3)
    	MOVV R6, 24(R3)
    	MOVV R7, 32(R3)
    	MOVV R8, 40(R3)
    	MOVV R9, 48(R3)
    	MOVV R10, 56(R3)
    	MOVV R11, 64(R3)
    	MOVV R12, 72(R3)
    	MOVV R13, 80(R3)
    	MOVV R14, 88(R3)
    	MOVV R15, 96(R3)
    	MOVV R16, 104(R3)
    	MOVV R17, 112(R3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 22 19:29:43 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top