repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
stsp/binutils-ia16
3,035
gas/testsuite/gas/mach-o/sections-1.s
# This is the list of section switch data that GCC currently (4.7.0) emits # for the Darwin/Mach-O target. .text .data .section __TEXT,__textcoal_nt,coalesced,pure_instructions .section __TEXT,__text_hot,regular,pure_instructions .section __TEXT,__text_cold,regular,pure_instructions .section __TEXT,__text_startup...
stsp/binutils-ia16
1,417
gas/testsuite/gas/mach-o/symbols-3.s
# indirect references, stubs and {non,}_lazy_symbol_pointer sections. # not applicable to x86_64 mach-o. .text .globl c .globl c1 .globl c2 c: nop c1: nop c2: nop e: nop e1: nop e2: nop .data d: .space 8 d1: .space 8 d2: .space 8 .private_extern f .private_extern f1 .private_extern f2 f: .space 8 f1: .space...
stsp/binutils-ia16
1,328
gas/testsuite/gas/mach-o/symbols-base.s
# baseline symbols in sections. Lzt0: .space 1 .globl ztg0 ztg0: .space 1 Lmt0: .space 1 .globl mtg0 mtg0: .space 1 Lat0: .space 1 .globl atg0 atg0: .space 1 .long _zut0 .long _mut0 .long _aut0 .comm zcommon0, 10, 3 .comm mcommon0, 10, 3 .comm acommon0, 10, 3 .data Lzd0: .space 1 .globl zdg0 zdg0: .space ...
stsp/binutils-ia16
1,328
gas/testsuite/gas/mach-o/symbols-base-64.s
# baseline symbols in sections. Lzt0: .space 1 .globl ztg0 ztg0: .space 1 Lmt0: .space 1 .globl mtg0 mtg0: .space 1 Lat0: .space 1 .globl atg0 atg0: .space 1 .quad _zut0 .quad _mut0 .quad _aut0 .comm zcommon0, 10, 3 .comm mcommon0, 10, 3 .comm acommon0, 10, 3 .data Lzd0: .space 1 .globl zdg0 zdg0: .space ...
stsp/binutils-ia16
1,341
gas/testsuite/gas/mach-o/err-syms-5.s
# { dg-do assemble { target i?86-*-darwin* powerpc*-*-darwin* } } # Show that we can check that there are enough syms for the section. # too few. .section __dummy, __dummy, symbol_stubs,strip_static_syms,4 .indirect_symbol a .section __dummy, __dummy1,lazy_symbol_pointers .indirect_symbol b .section __dummy...
stsp/binutils-ia16
399,011
gas/testsuite/gas/tilepro/t_insns.s
target: nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop { mulllsa_uu r5, r6, r7 ; bbnst r15, target } { mulhha_ss r5, r6, r7 ; blezt r15, target } { mulhla_us r5, r6, r7 ; ...
stsp/binutils-ia16
26,397
gas/testsuite/gas/tilepro/t_constants.s
.text .global _start _start: .data .align 1024 label_1: .byte 0x37 .align 8 .byte 0x38 .byte 0x39 .byte -0x3A .align 4 label_2: .byte 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 .byte 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F .byte 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17 .byte 0x18, 0x19, 0...
stsp/binutils-ia16
5,133
gas/testsuite/gas/m32r/allinsn.s
.data foodata: .word 42 .text footext: .text .global add add: add fp,fp .text .global add3 add3: add3 fp,fp,#0 .text .global and and: and fp,fp .text .global and3 and3: and3 fp,fp,#0 .text .global or or: or fp,fp .text .global or3 or3: or3 fp,fp,#0 .text .global xor xor: xor fp,fp .text .global...
stsp/binutils-ia16
7,440
gas/testsuite/gas/m32r/m32rx.s
# Test new instructions branchpoint: .text .global bcl bcl: bcl branchpoint .text .global bncl bncl: bncl branchpoint .text .global cmpz cmpz: cmpz fp .text .global cmpeq cmpeq: cmpeq fp, fp .text .global maclh1 maclh1: maclh1 fp, fp .text .global macsl0 msblo: msblo fp, fp .text .global m...
stsp/binutils-ia16
1,619
gas/testsuite/gas/m32r/m32r2.s
# Test new instructions .text .global setpsw setpsw: setpsw 0xc1 setpsw 0xff .text .global clrpsw clrpsw: clrpsw 0xc1 clrpsw 0xff .text .global bset bset: bset #0,@(4,r1) bset #1,@(4,r1) bset #7,@(4,r1) .text .global bclr bclr: bclr #0,@(4,r1) bclr #1,@(4,r1) bclr #7,@(4,r1) .text .global btst...
stsp/binutils-ia16
2,164
gas/testsuite/gas/m32r/signed-relocs.s
; check: not case sensitive for special operand modifier ; check: shigh, high, low .text relocs: seth r0, #shigh(0x87654321) add3 r0, r0, #low(0x87654321) seth r0, #SHIGH(0x87654321) add3 r0, r0, #LOW(0x87654321) seth r0, #shigh(0x1234ffff) add3 r0, r0, #low(0x1234ffff) seth r0, #SHIGH(0x1234ffff) add3 r0, r...
stsp/binutils-ia16
1,966
gas/testsuite/gas/m32r/outofrange.s
; Test error messages where branches are out of range. ; { dg-do assemble { target m32r-*-* } } .text .global foo foo: bl.s label ; { dg-error "out of range" "out of range bl.s" { target *-*-* } { 8 } } bnc.s label ; { dg-error "out of range" "out of range bnc.s" { target *-*-* } { 10 } } bra.s label ; { d...
stsp/binutils-ia16
1,056
gas/testsuite/gas/m32r/pic2.s
.section .text # R_M32R_GOTPC24 pic_gotpc: bl.s .+4 ld24 r12,#_GLOBAL_OFFSET_TABLE_ add r12,lr # R_M32R_GOTPC_HI_ULO # R_M32R_GOTPC_HI_SLO # R_M32R_GOTPC_LO pic_gotpc_slo: bl.s .+4 seth r12,#shigh(_GLOBAL_OFFSET_TABLE_) add3 r12,r12,#low(_GLOBAL_OFFSET_TABLE_+4) add r12,lr pic_gotpc_ulo: ...
stsp/binutils-ia16
4,489
gas/testsuite/gas/pj/ops.s
.L0: nop .globl foo0 foo0: .L1: nop .globl foo1 foo1: .L2: nop .globl foo2 foo2: .L3: nop .globl foo3 foo3: .L4: nop .globl foo4 foo4: .L5: nop .globl foo5 foo5: .L6: nop .globl foo6 foo6: .L7: nop .globl foo7 foo7: .L8: nop .globl foo8 foo8: .L9: nop .globl foo9 foo9: .L10: nop .globl foo10 foo10: .L11: nop .globl foo...
stsp/binutils-ia16
1,462
gas/testsuite/gas/tic54x/subsym.s
* * String substitution symbols * ; if no quotes, interpret as subsymbol ; if quotes, interpret as string, and do forced substitution .sslist .asg value,SYMBOL .asg SYMBOL,SYMBOL1 .global label, x .word x * Substitution symbol functions label: .word $symlen(SYMBOL) ; 5, substitutes string for symbol .wor...
stsp/binutils-ia16
1,145
gas/testsuite/gas/tic54x/labels.s
* local labels * two forms, $[0-9] and label? are allowed * Local labels are undefined/reset in one of four ways: * .newblock * changing sections * entering an include file * leaving an include file .global addra, addrb, addrc label1: ld addra,a sub addrb,a bc $1, alt ; generates frag! ld addrb, a ...
stsp/binutils-ia16
1,605
gas/testsuite/gas/tic54x/sections.s
* * Various sections directives * .bss, .data, .sect, .text, .usect * .align, .space, .bes * ; default section (should be .text) .word 0x1234 ; this should be put in .text ; initialized data .data .global coeff coeff .word 011h,022h,033h ; uninitialized data .global B1, buffer .bss b...
stsp/binutils-ia16
4,491
gas/testsuite/gas/tic54x/opcodes.s
;; opcodes tests .text .mmregs .global X, Y, Z .global _opcodes, _opcodes_end .label _opcodes_load _opcodes: abdst *ar3+, *ar4+ abs a abs a,b add *ar0+, a ; Smem, src add *ar1+, ts, a ; Smem, TS, src add *ar2+, 16, a ; Smem, 16, src [,dst] add *ar3+, a, b ; Smem [,SHIFT], src [,dst] (-16<=SHIFT<=1...
stsp/binutils-ia16
3,745,941
gas/testsuite/gas/tic54x/all-opcodes.s
; ; Modified twall@cygnus.com 990920 ; Add extended addressing and LP insns .title " *** all opcodes/mnemonics ***" start: ; ; ABDST : ABDST Xmem, Ymem : 256 ABDST *AR2, *AR2 ; 1 ABDST *AR2, *AR2- ; 2 ABDST *AR2, *AR2+ ; 3 ABDST *AR2, *AR2+0% ; 4 ABDST *AR2, *AR3 ; 5 ABDST *AR2, *AR3- ...
stsp/binutils-ia16
1,634
gas/testsuite/gas/mt/allinsn.s
.data foodata: .word 42 .text footext: .text .global add add: add R0,R0,R0 .text .global addu addu: addu R0,R0,R0 .text .global addi addi: addi R0,R0,#0 .text .global addui addui: addui R0,R0,#0 .text .global sub sub: sub R0,R0,R0 .text .global subu subu: subu R0,R0,R0 .text .global subi subi: s...
stsp/binutils-ia16
3,103
gas/testsuite/gas/mt/msys.s
;; This file is a set of tests for the MorphoySys instructions. ; Make sure that each mnemonic gives the proper opcode. Use R0 and #0 ; for all operands so that everything but the opcode will be 0 in the ; assembled instructions. ldctxt R0,R0,#0,#0,#0 ldfb R0,R0,#0 stfb R0, R0, #0 fbcb R0,#0,#0,#0,#0,#0,#0,#0,#0...
stsp/binutils-ia16
4,694
gas/testsuite/gas/cfi/cfi-x86_64.s
.text #; func_locvars #; - function with a space on the stack #; allocated for local variables func_locvars: .cfi_startproc #; alocate space for local vars sub $0x1234,%rsp .cfi_adjust_cfa_offset 0x1234 #; dummy body movl $1,%eax #; release space of local vars and return add $0x1234,%rsp .cfi_adjus...
stsp/binutils-ia16
1,190
gas/testsuite/gas/cfi/cfi-hppa-1.s
#; $ as -o test.o gas-cfi-test.s && gcc -nostdlib -o test test.o .text .align 4 .level 1.1 .globl func_locvars .type func_locvars, @function func_locvars: .PROC .CALLINFO FRAME=0x1234,NO_CALLS,SAVE_SP,ENTRY_GR=3 .ENTRY .cfi_startproc copy %r3,%r1 copy %r30,%r3 .cfi_def_cfa_register r3 stwm %r1,0x1234(%r30...
stsp/binutils-ia16
1,115
gas/testsuite/gas/cfi/cfi-m68k.s
#; $ as -o test.o gas-cfi-test.s && gcc -nostdlib -o test test.o .text #; func_locvars #; - function with a space on the stack #; allocated for local variables .type func_locvars,@function func_locvars: .cfi_startproc #; alocate space for local vars suba.w #0x1234,%sp .cfi_adjust_cfa_offset 0x1234 #; d...
stsp/binutils-ia16
3,275
gas/testsuite/gas/cfi/cfi-i386.s
.text .arch generic32 #; func_locvars #; - function with a space on the stack #; allocated for local variables func_locvars: .cfi_startproc #; alocate space for local vars sub $0x1234,%esp .cfi_adjust_cfa_offset 0x1234 #; dummy body movl $1,%eax #; release space of local vars and return add $0x1234...
stsp/binutils-ia16
17,891
gas/testsuite/gas/cris/binop.s
; @OC@ test ; Generic binary operations supporting all sizes and their various ; addressing modes. ; Some fairly big pseudorandom numbers we don't want to compute ; as differences in actual data or code. .set const_int_32, 0x1b94452b .set const_int_m32, -3513208907 .set two701867, 2701867 ; Other constants that a...
stsp/binutils-ia16
1,264
gas/testsuite/gas/cris/rd-v32s-4.s
; Check special registers specified as pN. .text here: move $r3,$p0 move $r5,$p1 move $r6,$p2 move $r7,$p3 move $r8,$p4 move $r9,$p5 move $r5,$p6 move $r6,$p7 move $r7,$p8 move $r2,$p9 move $r4,$p10 move $r0,$p11 move $r6,$p12 move $r10,$p13 move $r12,$p14 move $r13,$p15 move $p0,$r3 move $p1,$r5 ...
stsp/binutils-ia16
1,246
gas/testsuite/gas/cris/regprefix-err-1.s
; Test that we get errors when we require a register prefix. ; { dg-do assemble } .syntax register_prefix start: ; Some simple tests that we indeed require a register prefix, and some ; that should not be flagged as syntax errors. push srp ; { dg-error "(Illegal|Invalid) operands" } push r3 ; { dg-error "(Ill...
stsp/binutils-ia16
2,085
gas/testsuite/gas/cris/pushpop.s
; Check the push and pop builtin "macros". .text .syntax no_register_prefix start: push r1 push r0 push r4 ; Check that there is no recognition of invalid offsets. move.b r5,[sp=sp-8] move.w r5,[sp=sp-8] move.d r5,[sp=sp-8] move.b r5,[sp=sp-5] move.w r5,[sp=sp-5] move.d r5,[sp=sp-5] move.w r5,[sp=sp-4] ...
stsp/binutils-ia16
2,570
gas/testsuite/gas/cris/operand-err-1.s
; Error cases for invalid operands. ; { dg-do assemble { target cris-*-* } } .text .syntax no_register_prefix start: add.w r3,r4,r5 ; { dg-error "(Illegal|Invalid) operands" } add.w 42,r4,r5 ; { dg-error "(Illegal|Invalid) operands" } add.w [r3],r4,r5 ; Not an error: [r3] implies [r3+0]. add.w r3,[r3],r4 ; { dg-...
stsp/binutils-ia16
1,176
gas/testsuite/gas/cris/pic-err-1.s
; Check that invalid PIC reloc and instruction size combinations are ; recognized. Note that sizes of byte operands are not error-checked for ; not being in 16-bit range, so no error is recognized for a 16-bit operand. ; { dg-do assemble { target cris-*-* } } ; { dg-options "--pic --no-underscore --em=criself" } .s...
stsp/binutils-ia16
1,944
gas/testsuite/gas/cris/brokw-3b.s
; Tests the broken-word function with a real switch table. CRISv32 version. start: moveq 0,r0 subs.b 87,r0 bound.b 41,r0 lapc sym2,acr addi r0.w,acr adds.w [acr],acr jump acr nop sym2: .word sym1 - . .word sym3 - . .word sym4 - . .word sym5 - . .word sym6 - . .word sym7 - . .word sym8 - . .word sym9 -...
stsp/binutils-ia16
11,537
gas/testsuite/gas/cris/unop.s
; @OC@ test ; Generic unary operations supporting all sizes and their various ; addressing modes. ; Some fairly big pseudorandom numbers we don't want to compute ; as differences in actual data or code. .set const_int_32, 0x1b94452b .set const_int_m32, -3513208907 .set two701867, 2701867 ; Other constants that ar...
stsp/binutils-ia16
2,171
gas/testsuite/gas/cris/brokw-3.s
; Tests the broken-word function, one more word than fits in a ; single branch. .syntax no_register_prefix start: moveq 0,r0 ; Take the opportunity to (rudimentally) test case-recognition, ; as the diassembler gets overly confused by the table. subs.b 87,r0 bound.b 41,r0 adds.w [pc+r0.w],pc sym2: .word sym1 - sy...
stsp/binutils-ia16
1,217
gas/testsuite/gas/cris/fragtest.s
; File fragtest.s ; ; Tests frag handling ba l1 ; 2, 254 = 0xFE nop .space 124,0 ba l2 ; 2, 226 = 0xE2 nop .space 124,0 l1: .space 100,0 l2: ba l3 ; 4, 256 = 0x0100 nop .space 124,0 ba...
stsp/binutils-ia16
1,260
gas/testsuite/gas/cris/mulbug-err-1.s
; Test error message for mul insns at locations likely to trig ; a hardware bug. ; { dg-do assemble { target cris-*-* } } ; { dg-options "--em=criself" } ; First, .text isn't dword-aligned by default. .text muls.w $r1,$r4 ; { dg-error "align" } nop muls.b $r1,$r4 ; { dg-error "align" } mulu.d $r1,$r4 ; { dg-e...
stsp/binutils-ia16
2,005
gas/testsuite/gas/cris/bwtest-err-1.s
; File bwtest-err-1.s ; { dg-do assemble { target cris-*-* } } ; A variant of exbwtest.s. This is an example of invalid use of the broken- ; dot-word function. The nearest label occurs about 32 kbytes after the primary ; jump table so the secondary jump table can't be reached by word displace- ; ments and the brok...
stsp/binutils-ia16
2,809
gas/testsuite/gas/cris/binop-segref.s
; This used to be part of the binop test; differences broke when the ; broken-dot-word handling was broke and were moved here. .text .syntax no_register_prefix .byte 56,43,42 ; Make sure we don't start at zero. ; Some differences we want to see computed right, giving the right ; size of the operands. ; .globl back...
stsp/binutils-ia16
5,260
gas/testsuite/gas/cris/v32-err-1.s
; { dg-do assemble } ; { dg-options "--march=v0_v10" } ; Check that valid v32-specific mnemonics and operands are not ; recognized for v10. (Also used elsewhere to check that valid ; v32-specific insns and operands are recognized at assembly and ; disassembly for v32.) .text here: move.d [$acr],$r3 ; No error - $...
stsp/binutils-ia16
1,091
gas/testsuite/gas/cris/tls-err-2.s
; Like tls-err-1.s but for PIC TLS suffixes. ; { dg-do assemble } ; { dg-options "--pic --no-underscore --em=criself" } .syntax no_register_prefix .text start: move.b extsym:GDGOTREL16,r4 ; { dg-error "PIC relocation size does not match" "" { xfail *-*-* } } move.b extsym12:GDGOTREL,r5 ; { dg-error "PIC relocatio...
stsp/binutils-ia16
3,702
gas/testsuite/gas/cris/branch.s
; ; Test that branches work: 8- and 16-bit all insns, relaxing to ; 32-bit, forward and backward. No need to check the border ; cases for *all* insns. ; .text start_original: nop startm32: ; start start2 start3 nop .space 32750-(256-21*2+20)-(21*2+10*2+21*4)-12,0 startm16: nop ; The size of a bunch ...
stsp/binutils-ia16
2,621
gas/testsuite/gas/cris/prefix.s
; See that prefix insns are assembled right. .text .syntax no_register_prefix start: ; ; bdap (8-bit signed offset). ; bdap 0,r0 move.b [r5],r4 bdap 0,r3 move.w [r6+],r4 bdap -1,r1 move.b [r5],r4 bdap -1,r0 move.w [r6+],r4 bdap -128,r1 move.b [r5],r4 bdap -128,r7 move.w [r6+],r4 bdap 127,r1 move....
stsp/binutils-ia16
1,486
gas/testsuite/gas/cris/rd-pcrel2.s
; Test border-cases for relaxation of pc-relative expressions. .macro relaxcode .endm .text .syntax no_register_prefix ; Region of relaxation is after insn, same segment z: move.d [pc-(x1-x+128-4)],r8 ; 4 move.d [pc-(x2-x+129-8)],r8 ; 6 move.d [pc+x3-x+127-14],r8 ; 4 move.d [pc+x4-x+128-18],r8 ; 6 move.d [p...
stsp/binutils-ia16
4,273
gas/testsuite/gas/cris/range-err-1.s
; Test error cases for constant ranges. ; { dg-do assemble { target cris-*-* } } .set two701867, 2701867 .set mtwo701867, -2701867 .set const_int_32, 0x1b94452b .set const_int_m32, -3513208907 .set three2767, 32767 .text .syntax no_register_prefix start: moveq 32,r0 ; { dg-error "Immediate value not in 6 bi...
stsp/binutils-ia16
1,330
gas/testsuite/gas/cris/ccr.s
; Flag settings; clearf, setf .text .syntax no_register_prefix start: nop ; So we get it tested too -- and it makes the ; size of the code a 32-bit multiple, so ; the end of disassembly does not show zeros. ax setf deixnzvc ; old names clearf deixnzvc ; old names ei di setf dxnc ; old names clearf d...
stsp/binutils-ia16
10,803
gas/testsuite/gas/pe/peseh-x64-4.s
.file "t4.C" .section .text$_ZN5VBase1fEv,"x" .linkonce discard .align 2 .globl _ZN5VBase1fEv .def _ZN5VBase1fEv; .scl 2; .type 32; .endef .seh_proc _ZN5VBase1fEv _ZN5VBase1fEv: .LFB0: pushq %rbp .seh_pushreg %rbp movq %rsp, %rbp .seh_setframe %rbp, 0 .seh_endprologue movq %rcx, 16(%rbp) nop popq %rbp r...
stsp/binutils-ia16
25,763
gas/testsuite/gas/frv/allinsn.s
.data foodata: .word 42 .text footext: .text .global add add: ADD sp,sp,sp .text .global sub sub: sub sp,sp,sp .text .global udiv udiv: udiv sp,sp,sp .text .global and and: and sp,sp,sp .text .global or or: or sp,sp,sp .text .global xor xor: xor sp,sp,sp .text .global not not: not sp,sp .text ....
stsp/binutils-ia16
3,193
gas/testsuite/gas/frv/fr450-spr.s
movgs gr4, psr ; 0x000 00000 movgs gr4, pcsr ; 0x001 00001 movgs gr4, bpcsr ; 0x002 00002 movgs gr4, tbr ; 0x003 00003 movgs gr4, bpsr ; 0x004 00004 movgs gr4, hsr0 ; 0x010 00020 movgs gr4, ccr ; 0x100 00400 movgs gr4, cccr ; 0x107 00407 movgs gr4, lr ; 0x110 00420 movgs gr4, lcr ; 0x111 00421 movgs gr4, ia...
stsp/binutils-ia16
2,444
gas/testsuite/gas/frv/fr450-media-issue.s
; M-1 first mand.p fr0,fr1,fr2 ; M1 mpackh fr4,fr5,fr6 ; M1 -- ok mand.p fr0,fr1,fr2 ; M1 mcpli fr4,#1,fr6 ; M2 -- error mand.p fr0,fr1,fr2 ; M1 mmulhu fr4,fr6,acc8 ; M3 -- ok mand.p fr0,fr1,fr2 ; M1 mqmulhu fr4,fr6,acc8 ; M4 -- error mand.p fr0,fr1,fr2 ; M1 mcuti ac...
stsp/binutils-ia16
316,000
gas/testsuite/gas/metag/metacore12.s
.text MOV D0Re0,D0Re0 MOV D0Re0,RD ADD D0Re0,D0.7,D1.7 ADD D0.7,D0Re0,A1.7 ADD D0.7,D0.7,D0Re0 ADD D0.7,D0.7,A0.7 ADD D1Re0,D1Re0,D0.7 ...
stsp/binutils-ia16
6,479
gas/testsuite/gas/metag/metafpu21ext.s
.text FD ABS FX.0,FX.2 F ABS FX.3,FX.0 FL ABS FX.6,FX.4 F MMOVD D1.0,D1.3,D1.7,FX.0,FX.1,FX.2 F MMOVD D0.0,D0.1,FX.8,FX.9 F MMOVL D0.0,D0.1,D0.7,FX.2,FX.4,FX.6 F MMOVL D1.3,D1.4,FX.0,FX.2 F MMOVD FX.0,FX.1,FX.2,...
stsp/binutils-ia16
99,203
gas/testsuite/gas/metag/metafpu21.s
.text F ADD FX.0,D0Re0,D0Re0 F ADDLT FX.0,D0Re0,D0.7 F ADDVS FX.0,D0Re0,RD F ADDHI FX.0,D0.7,A1LbP F ADD FX.0,D0.7,D1.7 F ADDLE FX.0,D0.7,A0FrP F ADDEQ FX.1,D0Re0,D0.7 ...
stsp/binutils-ia16
377,321
gas/testsuite/gas/metag/metacore21.s
.text MOV D0Re0,D0Re0 MOV D0Re0,RD ADD D0Re0,D0.7,D1.7 ADD D0.7,D0Re0,A1.7 ADD D0.7,D0.7,D0Re0 ADD D0.7,D0.7,A0.7 ADD D1Re0,D1Re0,D0.7 ...
stsp/binutils-ia16
1,510,387
gas/testsuite/gas/metag/metadsp21.s
.text D ADD D0Re0,D0Re0,D0Re0 DO ADD D0Re0,D0Re0,D0Re0 D ADD D0Re0,D0Re0,A1LbP DM ADD D0Re0,D0Re0,A1.7 DO MOV D0Re0,D0.7 D ADD D0Re0,D0Re0,D1Re0 D ADD D0Re0,D0Re...
stsp/binutils-ia16
3,023
gas/testsuite/gas/all/weakref1.s
.text l: /* a# test references after weakref. */ .weakref Wwa1, wa1 .long Wwa1 .weakref Wua2, ua2 .long ua2 .weakref Wua3, ua3 .long Wua3 .long ua3 .weakref Wua4, ua4 .long ua4 .long Wua4 .weakref Wna5, na5 /* b# test references before weakref. */ .long Wwb1 .weakref Wwb1, wb1 .long ub2 .weakref ...
stsp/binutils-ia16
1,170
gas/testsuite/gas/m68k/pcrel.s
nop lbl_b: nop moveml lbl_b,%a0-%a1 moveml %pc@(lbl_b),%a0-%a1 moveml %pc@(lbl_b,%d0),%a0-%a1 lea lbl_b,%a0 lea %pc@(lbl_b),%a0 lea %pc@(lbl_b-128),%a0 lea %pc@(lbl_b,%d0),%a0 lea %pc@(lbl_b:b,%d0),%a0 lea %pc@(lbl_b-.-2:b,%d0),%a0 lea %pc@(lbl_b:w,%d0),%a0 lea %pc@(lbl_b-.-2:w,%d0),%a0 lea %pc@(lbl_b:l,%d...
stsp/binutils-ia16
6,150
gas/testsuite/gas/m68k/operands.s
# Test handling of MIT and Motorola syntax operands # If you change this file, see also op68000.d. .text foo: | Data register direct tstl %d0 | Address register direct tstl %a0 | Address register indirect tstl %a0@ tstl (%a0) | Address register indirect with postincrement tstl %a0@+ tstl (%a0)+ | Addre...
stsp/binutils-ia16
241,001
gas/testsuite/gas/m68k/mcf-emac.s
.text mac.w %d1l,%a1u,<<,%acc0 | mac.w %d1l,%a5u,<<,(%a0),%a1,%acc0 mac.w %d5l,%a3u,<<,(%a0)&,%d2,%acc0 move.l #12345678,%acc0 move.l %d1,%acc1 move.l #12345678,%acc1 move.l #12345678,%acc2 move.l %a1,%acc1 move.l #12345678,%acc3 mac.w %d3u,%a4l,>>,%acc1 mac.w %d...
stsp/binutils-ia16
100,525
gas/testsuite/gas/m68k/mcf-mac.s
.text move.l %acc,%d2 move.l %acc,%a1 move.l %macsr,%a1 move.l %macsr,%d2 move.l %mask,%a1 move.l %mask,%d2 move.l %macsr,%ccr move.l #0x12345678,%acc move.l %d1,%acc move.l %a2,%acc move.l #0x12345678,%macsr move.l %d1,%macsr move.l %a2,%macsr move.l #0x12345678,%mask move.l %d1,%mask move...
stsp/binutils-ia16
16,632
gas/testsuite/gas/m68k/mcf-fpu.s
.text fsqrtd %fp0,%fp0 fsqrtl %d5,%fp0 fsqrtl %a4@,%fp0 fsqrtl %a3@+,%fp0 fsqrtl %a2@-,%fp0 fsqrtl %fp@(8),%fp0 fsqrtl %pc@(.+0x1238),%fp0 fsqrts %d5,%fp0 fsqrts %a4@,%fp0 fsqrts %a3@+,%fp0 fsqrts %a2@-,%fp0 fsqrts %fp@(8),%fp0 fsqrts %pc@(.+0x1238),%fp0 fsqrtw %d5,%fp0 fsqrtw %a4@,%fp0 fsqrtw %a3@+,...
stsp/binutils-ia16
1,242
gas/testsuite/gas/m68k/fmoveml.s
# Test handling of the fmoveml and fmovemx instructions. .text .globl foo foo: fmoveml %fpcr,%a0@ fmoveml %fpsr,%a0@ fmoveml %fpiar,%a0@ fmoveml %fpcr/%fpsr,%a0@ fmoveml %fpcr/%fpiar,%a0@ fmoveml %fpsr/%fpiar,%a0@ fmoveml %fpcr/%fpsr/%fpiar,%a0@ fmoveml %fpcr,%d0 fmoveml %fpsr,%d0 fmoveml %fpiar,%d0 fmovem...
stsp/binutils-ia16
21,202
gas/testsuite/gas/epiphany/allinsn.s
.data foodata: .hword 42 .text footext: .text .global beq16 .text .global beq bgt16: bgt 4 bgt 4 bgt -4 bgt footext bgt foodata bgt 4 bgt footext bgt footext .text .global bgt bgtu16: bgtu 4 bgtu -4 bgtu footext bgtu 4 bgtu -4 bgtu footext bgtu footext bgtu 4 .text .global bgtu bgte16: bgt...
stsp/binutils-ia16
1,537
gas/testsuite/gas/epiphany/sample.s
.data foodata: .hword 42 .text footext: .text .macro test nm:req, args:vararg \nm: \nm \args .global \nm .endm ;;; Basic Instruction Tests 1: ; All branches test beq,1b test bne,1b test bgtu,1b test bgteu,1b test blteu,1b test bltu,1b test bgt,1b test bgte,1b test blt,1b ...
stsp/binutils-ia16
6,161
gas/testsuite/gas/epiphany/regression.s
;; -*-asm-*- TABLE=0x8000 RZ=r63 .macro FAIL mov r0,#1 trap 3 .endm .macro PASS mov r0,#0 trap 3 .endm .macro VERIFY ra,rb,ref,label sub \ra,\rb,\ref beq \label FAIL .endm /*****************************************/ /*INITIALIZING REGISTERS */ /*************************************...
stsp/binutils-ia16
2,066
gas/testsuite/gas/nds32/sys-reg.s
foo: mfsr $r0 ,$CPU_VER mfsr $r0 ,$CORE_ID mfsr $r0 ,$ICM_CFG mfsr $r0 ,$DCM_CFG mfsr $r0 ,$MMU_CFG mfsr $r0 ,$MSC_CFG mfsr $r0 ,$PSW mfsr $r0 ,$IPSW mfsr $r0 ,$P_IPSW mfsr $r0 ,$IVB mfsr $r0 ,$INT_CTRL mfsr $r0 ,$EVA mfsr $r0 ,$P_EVA mfsr $r0 ,$ITYPE mfsr $r0 ,$P_ITYPE mfsr $r0 ,$MERR mfsr $r0 ,$IPC ...
stsp/binutils-ia16
1,260
gas/testsuite/gas/nds32/to-16bit-v1.s
foo: move $r0, $r0 move $sp, $sp movi $r0, -16 movi $sp, 15 add $r0, $r0, $r0 add $r19, $sp, $r19 sub $r0, $r0, $r0 sub $r19, $r19, $sp addi $r0, $r0, 0 addi $r19, $r19, 31 srai $r0, $r0, 0 srai $r19, $r19, 31 srli $r0, $r0, 0 srli $r19, $r19, 31 slli $r0, $r0, 0 slli $r7, $r7, 7 zeb $r0, $r0 zeb $r7,...
stsp/binutils-ia16
2,035
gas/testsuite/gas/lm32/insn.s
.macro RegReg insn \insn r31, r0, r0 \insn r0, r31, r0 \insn r0, r0, r31 \insn r1, r2, r3 .endm .macro RegImm insn \insn r0, r0, 0 \insn r0, r0, -32768 \insn r0, r0, 32767 \insn r0, r31, 0 \insn r0, r31, -32768 \insn r0, r31, 32767 \insn r31, r0, 0 \insn r31, r0, -32768 \insn r31, r0, 32767 .endm ...
stsp/binutils-ia16
8,519
gas/testsuite/gas/ip2k/allinsn.s
.data foodata: .word 42 .text footext: .text .global jmp jmp: jmp 2 jmp 8192 jmp 4096 jmp 4094 jmp 2 jmp 2960 jmp 2128 jmp 2926 .text .global call call: call 4 call 8192 call 4096 call 4094 call 2 call 7384 call 7998 call 5074 .text .global sb sb: sb 1,1 sb 25,7 sb 25,4 sb 25,3 sb 1,1 sb 2...
stsp/binutils-ia16
26,639
gas/testsuite/gas/mn10300/am33-2.s
.text .am33_2 dcpf: dcpf (r0) dcpf (r10) dcpf (d1) dcpf (r7) dcpf (e4) dcpf (d2) dcpf (r1) dcpf (r11) dcpf (a0) dcpf (r2) dcpf (e5) dcpf (sp) dcpf (d3, r12) dcpf (a1, r3) dcpf (a2, r13) dcpf (r4, r14) dcpf (a3, r8) dcpf (r5, r15) dcpf (r6, r9) dcpf (r0, r10) dcpf (r7, e4) dcpf (r1, r11) dcpf (r...
stsp/binutils-ia16
1,943
gas/testsuite/gas/mn10300/udf.s
.text udf00 d0,d1 udf01 d0,d1 udf02 d0,d1 udf03 d0,d1 udf04 d0,d1 udf05 d0,d1 udf06 d0,d1 udf07 d0,d1 udf08 d0,d1 udf09 d0,d1 udf10 d0,d1 udf11 d0,d1 udf12 d0,d1 udf13 d0,d1 udf14 d0,d1 udf15 d0,d1 udf20 d0,d1 udf21 d0,d1 udf22 d0,d1 udf23 d0,d1 udf24 d0,d1 udf25 d0,d1 udf26 d0,d1 udf27 d0,d1 ...
stsp/binutils-ia16
1,089
gas/testsuite/gas/mn10300/relax.s
.am33_2 .section .rlcb, "ax" .global relax_long_cond_branch relax_long_cond_branch: clr d0 clr d1 .L1: add d1,d0 inc d1 .fill 32764, 1, 0xcb cmp 9,d1 ble .L1 rets .section .rlfcb, "ax" .global relax_long_float_cond_branch relax_long_float_cond_branch: clr d0 clr d1 .L2: add d1,d0 inc d1 .fill...
stsp/binutils-ia16
1,358
gas/testsuite/gas/mn10300/am33_5.s
.text .am33 mov 0x7ffefdfc,r2 movu 0x7ffefdfc,r2 add 0x7ffefdfc,r2 addc 0x7ffefdfc,r2 sub 0x7ffefdfc,r2 subc 0x7ffefdfc,r2 cmp 0x7ffefdfc,r2 mov 0x7ffefdfc,xr2 and 0x7ffefdfc,r2 or 0x7ffefdfc,r2 xor 0x7ffefdfc,r2 asr 0x7ffefdfc,r2 lsr 0x7ffefdfc,r2 asl 0x7ffefdfc,r2 mul 0x7ffefdfc,r2 mulu 0x7ffefdfc,r...
stsp/binutils-ia16
1,394
gas/testsuite/gas/mn10300/am33_6.s
.text .am33 add_add r4,r1,r2,r3 add_add r4,r1,2,r3 add_sub r4,r1,r2,r3 add_sub r4,r1,2,r3 add_cmp r4,r1,r2,r3 add_cmp r4,r1,2,r3 add_mov r4,r1,r2,r3 add_mov r4,r1,2,r3 add_asr r4,r1,r2,r3 add_asr r4,r1,2,r3 add_lsr r4,r1,r2,r3 add_lsr r4,r1,2,r3 add_asl r4,r1,r2,r3 add_asl r4,r1,2,r3 cmp_add r4,r1,r2,r...
stsp/binutils-ia16
1,411
gas/testsuite/gas/mn10300/am33_8.s
.text .am33 xor_add r4,r1,r2,r3 xor_add r4,r1,2,r3 xor_sub r4,r1,r2,r3 xor_sub r4,r1,2,r3 xor_cmp r4,r1,r2,r3 xor_cmp r4,r1,2,r3 xor_mov r4,r1,r2,r3 xor_mov r4,r1,2,r3 xor_asr r4,r1,r2,r3 xor_asr r4,r1,2,r3 xor_lsr r4,r1,r2,r3 xor_lsr r4,r1,2,r3 xor_asl r4,r1,r2,r3 xor_asl r4,r1,2,r3 swhw_add r4,r1,r2,...
stsp/binutils-ia16
1,397
gas/testsuite/gas/mn10300/am33_7.s
.text .am33 cmp_add 4,r1,r2,r3 cmp_add 4,r1,2,r3 cmp_sub 4,r1,r2,r3 cmp_sub 4,r1,2,r3 cmp_mov 4,r1,r2,r3 cmp_mov 4,r1,2,r3 cmp_asr 4,r1,r2,r3 cmp_asr 4,r1,2,r3 cmp_lsr 4,r1,r2,r3 cmp_lsr 4,r1,2,r3 cmp_asl 4,r1,r2,r3 cmp_asl 4,r1,2,r3 sub_add 4,r1,r2,r3 sub_add 4,r1,2,r3 sub_sub 4,r1,r2,r3 sub_sub 4,r1...
stsp/binutils-ia16
3,857
gas/testsuite/gas/nios2/ldh.s
.data data_label: .extern big_external_data_label,0x4000 .extern small_external_data_label,4 .comm big_external_common,0x4000 .comm small_external_common,4 .lcomm big_local_common,0x4000 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet support...
stsp/binutils-ia16
3,857
gas/testsuite/gas/nios2/ldw.s
.data data_label: .extern big_external_data_label,0x4000 .extern small_external_data_label,4 .comm big_external_common,0x4000 .comm small_external_common,4 .lcomm big_local_common,0x4000 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet support...
stsp/binutils-ia16
3,839
gas/testsuite/gas/nios2/ldb-r2.s
.data data_label: .extern big_external_data_label,0x4000 .extern small_external_data_label,4 .comm big_external_common,0x4000 .comm small_external_common,4 .lcomm big_local_common,0x4000 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet support...
stsp/binutils-ia16
3,857
gas/testsuite/gas/nios2/sth.s
.data data_label: .extern big_external_data_label,0x4000 .extern small_external_data_label,4 .comm big_external_common,0x4000 .comm small_external_common,4 .lcomm big_local_common,0x4000 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet support...
stsp/binutils-ia16
3,857
gas/testsuite/gas/nios2/stw.s
.data data_label: .extern big_external_data_label,0x4000 .extern small_external_data_label,4 .comm big_external_common,0x4000 .comm small_external_common,4 .lcomm big_local_common,0x4000 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet support...
stsp/binutils-ia16
3,818
gas/testsuite/gas/nios2/ldh-r2.s
.data data_label: .extern big_external_data_label,0x400 .extern small_external_data_label,4 .comm big_external_common,0x400 .comm small_external_common,4 .lcomm big_local_common,0x400 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet supported ...
stsp/binutils-ia16
3,857
gas/testsuite/gas/nios2/stb.s
.data data_label: .extern big_external_data_label,0x4000 .extern small_external_data_label,4 .comm big_external_common,0x4000 .comm small_external_common,4 .lcomm big_local_common,0x4000 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet support...
stsp/binutils-ia16
3,818
gas/testsuite/gas/nios2/ldw-r2.s
.data data_label: .extern big_external_data_label,0x400 .extern small_external_data_label,4 .comm big_external_common,0x400 .comm small_external_common,4 .lcomm big_local_common,0x400 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet supported ...
stsp/binutils-ia16
3,818
gas/testsuite/gas/nios2/sth-r2.s
.data data_label: .extern big_external_data_label,0x400 .extern small_external_data_label,4 .comm big_external_common,0x400 .comm small_external_common,4 .lcomm big_local_common,0x400 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet supported ...
stsp/binutils-ia16
3,818
gas/testsuite/gas/nios2/stw-r2.s
.data data_label: .extern big_external_data_label,0x400 .extern small_external_data_label,4 .comm big_external_common,0x400 .comm small_external_common,4 .lcomm big_local_common,0x400 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet supported ...
stsp/binutils-ia16
3,857
gas/testsuite/gas/nios2/ldb.s
.data data_label: .extern big_external_data_label,0x4000 .extern small_external_data_label,4 .comm big_external_common,0x4000 .comm small_external_common,4 .lcomm big_local_common,0x4000 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet support...
stsp/binutils-ia16
3,818
gas/testsuite/gas/nios2/stb-r2.s
.data data_label: .extern big_external_data_label,0x400 .extern small_external_data_label,4 .comm big_external_common,0x400 .comm small_external_common,4 .lcomm big_local_common,0x400 .lcomm small_local_common,4 # the small symbols should have space allocated in the sbss section # but this is not yet supported ...
stsp/binutils-ia16
3,808
gas/testsuite/gas/nios2/selftest.s
# Use self-test mode to verify that all the expected control register # names assemble correctly. _start: wrctl ctl0, r2, 0x1001703a wrctl status, r2, 0x1001703a wrctl ctl1, r2, 0x1001707a wrctl estatus, r2, 0x1001707a wrctl ctl2, r2, 0x100170ba wrctl bstatu...
stsp/binutils-ia16
5,926
gas/testsuite/gas/csky/cskyv2_all.s
.text all: bkpt movi r3, 22 movi r16, 22 movi r3, 300 lsli r20, r16, 0 lsri r8, r2, 20 asri r1, r2, 7 addc r1, r2 addc r17, r1 addc r1, r2, r3 addc r1, r2, r1 addc r1, r17 addc r18, r18, r30 subc r1, r2 subc r17, r1 subc r1, r2...
stsp/binutils-ia16
11,558
gas/testsuite/gas/csky/csky_vdsp.s
.text vdsp_instructions: vstrq.8 vr2, (r2, r3 << 0) vstrq.16 vr2, (r2, r3 << 0) vstrq.32 vr2, (r2, r3 << 0) vldrq.8 vr2, (r2, r3 << 0) vldrq.16 vr2, (r2, r3 << 0) vldrq.32 vr2, (r2, r3 << 0) vstrd.8 vr2, (r2, r3 << 0) vstrd.16 vr2, (r2, r3 << 0) vstrd.32 vr2, (r2, r3 << 0) vldrd.8 vr2, (r...
stsp/binutils-ia16
1,835
gas/testsuite/gas/csky/v1_float.s
.text L0: fabsm fr0, fr2, r4 fnegm fr0, fr2, r4 faddm fr0, fr2, fr4, r4 fsubm fr0, fr2, fr4, r4 fmacm fr0, fr2, fr4, r4 fmscm fr0, fr2, fr4, r4 fmulm fr0, fr2, fr4, r4 fnmacm fr0, fr2, fr4, r4 fnmscm fr0, fr2, fr4, r4 fnmulm fr0, fr2, fr4, r4 L1: fabss...
stsp/binutils-ia16
1,171
gas/testsuite/gas/csky/v2_float_part1.s
.text L1: fstms vr3-vr4, (r4) fldms vr3-vr4, (r4) fstmm vr3-vr4, (r4) fldmm vr3-vr4, (r4) fstmd vr3-vr4, (r4) fldmd vr3-vr4, (r4) fstm vr0, (r2, 0) fldm vr0, (r2, 0) fstm vr0, (r2, 8) fldm vr0, (r2, 8) fstd vr0, (r2, 4) fldd vr0, (r2, 4) fsts vr0, (r2, 4) flds vr0, (...
stsp/binutils-ia16
2,336
gas/testsuite/gas/csky/all.s
.text all: bkpt sync rte rfe rfi stop wait doze idly4 trap 3 mvc r1 mvcv r2 ldq r4-r7, (r2) stq r4-r7, (r2) ldm r1-r15, (r0) dect r2 decf r2 inct r2 incf r2 jmp r1 jsr r1 ff1 r11 ...
stsp/binutils-ia16
5,486
gas/testsuite/gas/csky/enhance_dsp.s
.text hello: .loop_start: ldbi.b r2, (r3) ldbi.h r2, (r3) ldbi.w r2, (r3) .loop_end: bloop r2, .loop_start, .loop_end bloop r2, .loop_start pldbi.d r2, (r3) ldbi.hs r2, (r3) ldbi.bs r2, (r3) stbi.b r2, (r3) stbi.h r2, (r3) stbi.w r2, (r3) ldbir.b r2, (r3), r4 ldbir.h...
stsp/binutils-ia16
558,492
gas/testsuite/gas/tilegx/t_insns.s
target: nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop { fdouble_sub_flags r5, r6, r7 ; bnezt r15, target } { fdouble_sub_flags r5, r6, r7 ; bnez r15, target } { fdouble_a...
stsp/binutils-ia16
1,584
gas/testsuite/gas/d10v/instruction_packing.s
;; Test instruction packing .text .global main main: MU_IU: nop || nop FM00_IU_MU: sra r0,r1 || ld r2,@r3 sra r0,r1 || bra.s test_end FM00_MU_IU: ld r2,@r3 || sra r0,r1 bra.s test_end || sra r0,r1 FM00_IM_MU: add r4,r5 || ld r2,@r3 add r4,r5 || br...
stsp/binutils-ia16
15,882
gas/testsuite/gas/d10v/label-001.s
.text .align 2 L0: nop nop .align 2 L1: nop nop .align 2 L2: nop nop .align 2 L3: nop nop .align 2 L4: nop nop .align 2 L5: nop nop .align 2 L6: nop nop .align 2 L7: nop nop .align 2 L8: nop nop .align 2 L9: nop nop .align 2 L10: nop nop .align 2 L11: nop nop .align 2 L12: nop no...
stsp/binutils-ia16
1,311
gas/testsuite/gas/d10v/address-001.s
;; ;; address-001.s ;; Test supported indirect addressing ;; .text .global main main: ;; ;; Indirect ;; ldb r0,@r2 ldub r0,@r2 ld r0,@r2 ld2w r0,@r2 stb r0,@r2 st r0,@r2 st2w r0,@r2 ;; ;; Indirect with post increment ;; ld r0...
stsp/binutils-ia16
1,231
gas/testsuite/gas/sparc/reloc64.s
# sparc64 special relocs foo: sethi %uhi(0x1234567800000000),%g1 or %g1,%ulo(0x1234567800000000),%g1 nop sethi %uhi(foo),%g1 or %g1,%ulo(foo),%g1 nop sethi %uhi(foo+0x1234567800000000),%g1 or %g1,%ulo(foo+0x1234567800000000),%g1 nop sethi %hh(0xfedcba9876543210),%g1 or %g1,%hm(0xfedcba9876543210),%g1 sethi...
stsp/binutils-ia16
1,284
gas/testsuite/gas/sparc/wrhpr.s
# Test wrpr .text wrhpr %g1, %g2, %hpstate wrhpr %g1, %hpstate wrhpr %g1,666, %hpstate wrhpr 666, %g1, %hpstate wrhpr 666, %hpstate wrhpr %g1, %g2, %htstate wrhpr %g1, %htstate wrhpr %g1,666, %htstate wrhpr 666, %g1, %htstate wrhpr 666, %htstate wrhpr %g1, %g2, %hintp wrhpr %g1, %hintp wrhpr %g1,666, %hin...