Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for foo (0.48 sec)

  1. src/cmd/asm/internal/asm/testdata/mips64.s

    //	{
    //		outcode(int($1), &nullgen, 0, &nullgen);
    //	}
    	SYSCALL
    	BEQ	R1, 2(PC)
    	RET
    
    
    // More JMP/JAL cases, and canonical names JMP, CALL.
    
    	JAL	foo(SB) // CALL foo(SB)
    	BEQ	R1, 2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    	RET	foo(SB)
    
    	// unary operation
    	NEGW	R1, R2 // 00011023
    	NEGV	R1, R2 // 0001102f
    
    	WSBH	R1, R2 // 7c0110a0
    	DSBH	R1, R2 // 7c0110a4
    	DSHD	R1, R2 // 7c011164
    
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/s390x.s

    	VSUMB	V7, V8, V9              // e79780000064
    	VSUMH	V22, V23, V24           // e78670001e64
    
    	RET
    	RET	foo(SB)
    
    TEXT main·init(SB),DUPOK|NOSPLIT,$0 // TEXT main.init(SB), DUPOK|NOSPLIT, $0
    	RET
    
    TEXT main·main(SB),DUPOK|NOSPLIT,$0 // TEXT main.main(SB), DUPOK|NOSPLIT, $0
    	BL      main·foo(SB)    // CALL main.foo(SB)
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 22 03:55:32 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/arm.s

    //	{
    //		outcode($1, $2, &nullgen, 0, &nullgen);
    //	}
    	BEQ	2(PC)
    	RET
    
    // More B/BL cases, and canonical names JMP, CALL.
    
    	BEQ	2(PC)
    	B	foo(SB) // JMP foo(SB)
    	BL	foo(SB) // CALL foo(SB)
    	BEQ	2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    
    // CMPF and CMPD are special.
    	CMPF F1, F2
    	CMPD F1, F2
    
    // AND
    	AND	$255, R0, R1         // ff1000e2
    	AND	$4278190080, R0, R1  // ff1400e2
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 15 20:51:01 GMT 2023
    - 69K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/mips.s

    	//	{
    	//		outcode(int($1), &nullgen, 0, &nullgen);
    	//	}
    	SYSCALL
    	BEQ	R1, 2(PC)
    	RET
    
    
    	// More JMP/JAL cases, and canonical names JMP, CALL.
    
    	JAL	foo(SB)	// CALL foo(SB)
    	BEQ	R1, 2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    	RET	foo(SB)
    
    	// unary operation
    	NEGW	R1, R2 // 00011023
    	CLZ	R1, R2 // 70221020
    	CLO	R1, R2 // 70221021
    
    	WSBH	R1, R2 // 7c0110a0
    
    	SEB	R1, R2 // 7c011420
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/ppc64.s

    	MOVHBR (R3)(R4), R5             // 7ca41e2c
    	MOVHBR (R3)(R0), R5             // 7ca01e2c
    	MOVHBR (R3), R5                 // 7ca01e2c
    	OR $0, R0, R0
    	MOVD $foo+4009806848(FP), R5    // 3ca1ef0138a5cc40 or 0600ef0038a1cc40
    	MOVD $foo(SB), R5               // 3ca0000038a50000 or 0610000038a00000
    
    	MOVDU 8(R3), R4                 // e8830009
    	MOVDU (R3)(R4), R5              // 7ca4186a
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/arm64.s

    // RET
    	RET
    	RET	foo(SB)
    
    // B/BL/B.cond cases, and canonical names JMP, CALL.
    	BL	1(PC)      // CALL 1(PC)
    	BL	(R2)       // CALL (R2)
    	BL	foo(SB)    // CALL foo(SB)
    	BL	bar<>(SB)  // CALL bar<>(SB)
    	B	foo(SB)    // JMP foo(SB)
    	BEQ	1(PC)
    	BEQ	2(PC)
    	TBZ	$1, R1, 2(PC)
    	TBNZ	$2, R2, 2(PC)
    	JMP	foo(SB)
    	CALL	foo(SB)
    
    // ADR
    	ADR	next, R11     // ADR R11 // 2b000010
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/duperror.s

    // 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.
    
    TEXT foo(SB), 0, $0
    	RET
    TEXT foo(SB), 0, $0 // ERROR "symbol foo redeclared"
    	RET
    
    GLOBL bar(SB), 0, $8
    GLOBL bar(SB), 0, $8 // ERROR "symbol bar redeclared"
    
    DATA bar+0(SB)/8, $0
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 05 23:21:07 GMT 2022
    - 404 bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    lable1:
    	BFPT	1(PC)			// 00050048
    	BFPT	lable1	// BFPT 2	//1ffdff4b
    
    lable2:
    	BFPF	1(PC)			// 00040048
    	BFPF	lable2	// BFPF 4 	// 1ffcff4b
    
    	// relocation in play so the assembled offset should be 0
    	JMP	foo(SB)			// 00000050
    
    	JMP	(R4)			// 8000004c
    	JMP	1(PC)			// 00040050
    	MOVW	$65536, R4		// 04020014
    	MOVW	$4096, R4		// 24000014
    	MOVV	$65536, R4		// 04020014
    	MOVV	$4096, R4		// 24000014
    	MOVW	R4, R5			// 85001700
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 31 02:56:19 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/testdata/loong64.s

    // license that can be found in the LICENSE file.
    
    #include "../../../../../runtime/textflag.h"
    // TODO: cover more instruction
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    	JAL	1(PC)	//CALL 1(PC)	//00040054
    	JAL	(R4)	//CALL (R4)	//8100004c
    	// relocation in play so the assembled offset should be 0
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 22 18:50:59 GMT 2023
    - 434 bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/amd64error.s

    // Copyright 2016 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.
    
    TEXT errors(SB),$0
    	MOVL	foo<>(SB)(AX), AX	// ERROR "invalid instruction"
    	MOVL	(AX)(SP*1), AX		// ERROR "invalid instruction"
    	EXTRACTPS $4, X2, (BX)          // ERROR "invalid instruction"
    	EXTRACTPS $-1, X2, (BX)         // ERROR "invalid instruction"
    	// VSIB addressing does not permit non-vector (X/Y)
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 14 00:03:57 GMT 2023
    - 8.9K bytes
    - Viewed (0)
Back to top