repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
stsp/binutils-ia16
10,762
gdb/testsuite/gdb.dwarf2/trace-crash.S
/* This file was created using Clang -g -S from this source code: int func(int p) { int x = p + 3; return x; } int main() { return func(3); } See http://sourceware.org/bugzilla/show_bug.cgi?id=14999 */ .file "trace-crash.c" .file 1 "trace-crash.c" .text .globl func .align 16, 0x90 .type...
stsp/binutils-ia16
7,468
gdb/testsuite/gdb.dwarf2/watch-notconst2.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2010-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
15,163
gdb/testsuite/gdb.dwarf2/fission-loclists-pie.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2013-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
9,022
gdb/testsuite/gdb.dwarf2/dw2-reg-undefined.S
/* Copyright 2013-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This p...
stsp/binutils-ia16
11,419
gdb/testsuite/gdb.dwarf2/dw2-noloc.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2007-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
10,833
gdb/testsuite/gdb.dwarf2/fission-base.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2012-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
23,777
gdb/testsuite/gdb.dwarf2/clztest.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2011-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
10,708
gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2011-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
56,968
gdb/testsuite/gdb.dwarf2/typeddwarf.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2011-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
4,740
gdb/testsuite/gdb.dwarf2/dw2-error.S
/* Copyright (C) 2012-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This ...
stsp/binutils-ia16
3,246
gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2004-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
9,137
gdb/testsuite/gdb.dwarf2/dw2-intercu.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2004-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
4,950
gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2007-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
51,319
gdb/testsuite/gdb.dwarf2/pieces.S
/* Copyright 2010-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This p...
stsp/binutils-ia16
6,202
gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2012-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
8,147
gdb/testsuite/gdb.dwarf2/dw2-undefined-ret-addr.S
/* Copyright 2013-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This p...
stsp/binutils-ia16
1,745
gdb/testsuite/gdb.dwarf2/dw2-filename.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2004-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
5,466
gdb/testsuite/gdb.dwarf2/dw2-producer.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2004-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
3,514
gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.S
/* Copyright 2010-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This prog...
stsp/binutils-ia16
10,951
gdb/testsuite/gdb.dwarf2/pr11465.S
/* Copyright 2010-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This prog...
stsp/binutils-ia16
5,545
gdb/testsuite/gdb.dwarf2/dw2-strp.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2008-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
3,412
gdb/testsuite/gdb.dwarf2/dw2-empty-namespace.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2009-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
4,226
gdb/testsuite/gdb.dwarf2/dw2-case-insensitive-debug.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2011-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
2,960
gdb/testsuite/gdb.dwarf2/dw2-var-zero-addr.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2011-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
3,124
gdb/testsuite/gdb.dwarf2/frame-inlined-in-outer-frame.S
/* Copyright 2020-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This prog...
stsp/binutils-ia16
2,604
gdb/testsuite/gdb.dwarf2/dw2-bad-parameter-type.S
/* Copyright 2010-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This prog...
stsp/binutils-ia16
8,095
gdb/testsuite/gdb.dwarf2/pieces-optimized-out.S
/* Copyright 2010-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This p...
stsp/binutils-ia16
8,093
gdb/testsuite/gdb.dwarf2/dw2-icc-opaque.S
/* Copyright (C) 2011-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This ...
stsp/binutils-ia16
1,977
gdb/testsuite/gdb.dwarf2/dw2-ada-ffffffff.S
/* Copyright 2010-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This prog...
stsp/binutils-ia16
5,649
gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S
/* Copyright 2014-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This prog...
stsp/binutils-ia16
5,227
gdb/testsuite/gdb.dwarf2/dw2-op-call.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2009-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
4,219
gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2011-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
9,335
gdb/testsuite/gdb.dwarf2/dw2-dup-frame.S
/* Copyright 2013-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This p...
stsp/binutils-ia16
5,408
gdb/testsuite/gdb.dwarf2/dw2-intermix.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2005-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
21,308
gdb/testsuite/gdb.dwarf2/typeddwarf-amd64.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2011-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
1,190
gdb/testsuite/gdb.dwarf2/dw2-restore.S
/* Copyright 2009-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This p...
stsp/binutils-ia16
10,838
gdb/testsuite/gdb.dwarf2/dw2-single-line-discriminators.S
/* This testcase is part of GDB, the GNU debugger. Copyright 2014-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
stsp/binutils-ia16
1,070
gas/testsuite/gas/sh/tlsd.s
.section .tdata,"awT",@progbits .align 2 .global foo, bar .hidden bar foo: .long 25 bar: .long 27 baz: .long 29 .text .align 1 .global fn .type fn, @function fn: mov.l r12,@-r15 mov.l r14,@-r15 sts.l pr,@-r15 mova .L3,r0 mov.l .L3,r12 add r0,r12 mov r15,r14 ! Dynamic TLS model, foo not known to be in t...
stsp/binutils-ia16
1,660
gas/testsuite/gas/sh/sh4al-dsp.s
.text .p2align 2 ldrc r3 ldrc r12 ldrc #10 ldrc #243 setdmx setdmy clrdmxy movx.w @r4,x0 movy.w a0,@r7+ movx.w @r0,x1 movx.w @r1+,y0 nopy nopy movx.w @r5+r8,y1 movx.l @r5,x1 movx.l @r0,x0 movx.l @r1+,y0 nopy nopy movx.l @r4+r8,y1 movx.w a0,@r4+ movy.w @r6+r9,y0 movx.w x0,@r1 movx.w a1,@r0+ no...
stsp/binutils-ia16
1,105
gas/testsuite/gas/sh/sh2a.s
.text # New instructions band.b #7,@(4095,r3) bandnot.b #7,@(4095,r3) bclr.b #7,@(4095,r3) bclr #7,r3 bld.b #7,@(4095,r3) bld #7,r3 bldnot.b #7,@(4095,r3) bor.b #7,@(4095,r3) bornot.b #7,@(4095,r3) bset.b #7,@(4095,r3) bset #7,r3 bst.b #7,@(4095,r3) bst #7,r3 bxor.b #7,@(4095,r3) clips.b r3 ...
stsp/binutils-ia16
2,266
gas/testsuite/gas/xgate/all_insns.s
# Example of XGATE instructions .sect .text _start: L0: adc r1, r2, r3 L1: bcc END_CODE L2: add r4, r5, r6 L3: add r7 , #225 L4: addh r1, 255 L5: addl r2, #255 L6: add r4, 8004 L7: and r3, r4, r5 L8: and r1, #0x8004 L9: add r5, END_CODE L10: and r7, END_CODE L11: and r4, #65281 L12: andl r3, #01 L13: andh ...
stsp/binutils-ia16
1,361
gas/testsuite/gas/s12z/opr-symbol.s
#sym1: set $123456 #sym2: set $abcdef .equiv sym1, 0x123456 .equiv sym2, 0xabcdef mov.b #23, sym1 mov.w #23, sym1 mov.p #23, sym1 mov.l #23, sym1 mov.b sym1, sym2 mov.w sym1, sym2 mov.p sym1, sym2 mov.l sym1, sym2 add d1, sym1 and d2, sym1 sub d3, sym1 or d4, sym1 inc.b sym1 inc.w sym1 inc.l ...
stsp/binutils-ia16
1,224
gas/testsuite/gas/s12z/trap.s
trap #146 trap #147 trap #148 trap #149 trap #150 trap #151 trap #152 trap #153 trap #154 trap #155 trap #156 trap #157 trap #158 trap #159 trap #168 trap #169 trap #170 trap #171 trap #172 trap #173 trap #174 trap #175 trap #184 trap #185 tra...
stsp/binutils-ia16
23,409
gas/testsuite/gas/alpha/elf-reloc-8.s
.set noat .set noreorder .set nomacro .arch ev6 .section .init.data,"aw",@progbits .align 2 .type mount_initrd, @object .size mount_initrd, 4 mount_initrd: .long 0 .globl root_mountflags .section .sdata,"aw",@progbits .align 2 .type root_mountflags, @object .size root_mountflags, 4 root_mountflags: .long...
stsp/binutils-ia16
1,599
gas/testsuite/gas/bfin/flow.s
.data foodata: .word 42 .text footext: .text .global jump jump: jump(P5); Jump (pc + p3); jUMp (0); JumP.l (-16777216); jumP.L (0x00fffffe); JUMP.s (4094); JUMP.L (0X00FF0000); jump (footext); .text .global ccjump ccjump: if cc jump (-1024); IF CC JUMP (1022) (BP); if !cc jump (0xffffFc00) (Bp); if ...
stsp/binutils-ia16
1,442
gas/testsuite/gas/bfin/shift.s
.text .global add_with_shift add_with_shift: P0 = (P0 + p1) << 1; P2 = (p2 + p5) << 2; r7 = (R7 + r1) << 2; r3 = (r3 + R0) << 1; .text .global shift_with_add shift_with_add: P5 = p4 + (P0 << 2); P0 = p2 + (p1 << 1); .text .global arithmetic_shift arithmetic_shift: A0 = A0 >> 31; a0 = a0 << 31; a1 = a1 ...
stsp/binutils-ia16
2,513
gas/testsuite/gas/bfin/expected_errors.s
.text p0.H = 0x12345678; P0.l = 0x12345678; CC = R3 < 4; CC = R3 < 7; CC = R3 < 8; CC = R3 <= 4; CC = R3 <= 7; CC = R3 <= 8; A1 -= M2.h * R3.L, A0 -= M2.l * R3.L; R1.H = (A1=R7.L*R5.L) , A0 += R1.L*R0.L (IS); a0 += R2.L * R3.L (IU); a0 += R2.L * R3.L (T); a0 += R2.L * R3.L (TFU); a0 += R2.L * R3.L (...
stsp/binutils-ia16
6,705
gas/testsuite/gas/bfin/shift2.s
.EXTERN MY_LABEL2; .section .text; // //9 SHIFT/ROTATE OPERATIONS // //Preg = ( Preg + Preg ) << 1 ; /* dest_reg = (dest_reg + src_reg) x 2 (a) */ P0 = (P0+P0)<<1; P0 = (P0+P1)<<1; P2 = (P2+P0)<<1; P1 = (P1+P2)<<1; //P0 = (P2+P0)<<1; //Preg = ( Preg + Preg ) << 2 ; /* dest_reg = (dest_reg + src_reg) x 4 (a) */ P0 ...
stsp/binutils-ia16
2,282
gas/testsuite/gas/bfin/bit2.s
.EXTERN MY_LABEL2; .section .text; // //8 BIT OPERATIONS // //BITCLR ( Dreg , uimm5 ) ; /* (a) */ BITCLR ( R7 , 0 ) ; BITCLR ( R7 , 31 ) ; BITCLR ( R7 , 15 ) ; BITCLR ( R1 , 0 ) ; BITCLR ( R2 , 1 ) ; BITCLR ( R3 , 19 ) ; //BITSET ( Dreg , uimm5 ) ; /* (a) */ BITSET ( R7 , 0 ) ; BITSET ( R7 , 31 ) ; BITSET ( R7 , 15...
stsp/binutils-ia16
2,391
gas/testsuite/gas/bfin/stack2.s
.EXTERN MY_LABEL2; .section .text; // //5 STACK CONTROL // //[ -- SP ] = allreg ; /* predecrement SP (a) */ [--SP ] = R0; [--SP ] = R6; [--SP ] = P0; [--SP ] = P4; [--SP ] = I0; [--SP ] = I1; [--SP ] = M0; [--SP ] = M1; [--SP ] = L0; [--SP ] = L1; [--SP ] = B0; [--SP ] = B1; [--SP ] = A0.X; [--SP...
stsp/binutils-ia16
1,354
gas/testsuite/gas/bfin/video.s
.text .global align align: R7 = Align8 (r5, r2); R5 = ALIGN16 (R0, R1); r2 = ALIGN24 (r5, r0); .global disalgnexcpt disalgnexcpt: DISAlgnExcpt; .text .global byteop3p byteop3p: R5 = Byteop3p (r1:0, r3:2) (lO); R0 = BYTEOP3P (R1:0, R3:2) (HI); R1 = byteop3p (r1:0, r3:2) (LO, r); r2 = ByteOp3P (r1:0, R3:2)...
stsp/binutils-ia16
7,644
gas/testsuite/gas/bfin/move2.s
.EXTERN MY_LABEL2; .section .text; // //4 MOVE // //genreg = genreg ; /* (a) */ R0 = R0; R1 = R1; R2 = R2; R3 = R3; R4 = R4; R5 = R5; R6 = R6; R7 = R7; P0 = P0; P1 = P1; P2 = P2; P3 = P3; P4 = P4; P5 = P5; SP = SP; FP = FP; A0.X = A0.X; A0.W = A0.W; A1.X = A1.X; A1.W = A1.W; R0 = A1.W; R1 = A1.X; R2 = A0.W; ...
stsp/binutils-ia16
21,012
gas/testsuite/gas/bfin/vector2.s
.EXTERN MY_LABEL2; .section .text; // //14 VECTOR OPERATIONS // //Dreg_hi = Dreg_lo = SIGN ( Dreg_hi ) * Dreg_hi + SIGN ( Dreg_lo ) * Dreg_lo ; /* (b) */ r7.h=r7.l=sign(r2.h)*r3.h+sign(r2.l)*r3.l ; r0.h=r0.l=sign(r1.h)*r2.h+sign(r1.l)*r2.l ; r3.h=r3.l=sign(r4.h)*r5.h+sign(r4.l)*r5.l ; r6.h=r6.l=sign(r7.h)*r0.h+sign...
stsp/binutils-ia16
3,271
gas/testsuite/gas/bfin/vector.s
.text .global add_on_sign add_on_sign: r4.h = r4.l = Sign (R1.h) * R5.h + Sign(r1.L) * R5.L; .text .global vit_max vit_max: R7 = Vit_Max (R5, r2) (ASL); r0 = VIT_MAX (r0, r6) (asr); r5.l = vit_max (R3) (asL); r2.L = VIT_Max (r2) (Asr); .text .global vector_abs vector_abs: R5 = ABS R5 (V); r2 = abs r0 (v)...
stsp/binutils-ia16
2,311
gas/testsuite/gas/bfin/load.s
.extern f001 .extern F002 .text .global load_immediate load_immediate: /* Half-Word Load. */ M3.l = 0xffff; b2.l = 0xfffe; Sp.l = 0; FP.L = 0xfedc; r0.h = 2; p5.H = 32; I2.h = 0xf204; b1.H = 64; l0.h = 0xffff; R5.h = load_data1; B2.H = F002; /* Zero Extended. */ fp = 0xff20 (Z); l2 = 32 (z); R5 =...
stsp/binutils-ia16
6,412
gas/testsuite/gas/bfin/parallel.s
.section .text; R5 = Deposit (r3, r2) || I0 += 2; r0 = DEPOSIT (r7, R6) (X) || I1 += 4; r4 = extract (r2, r1.L) (z) || I2 -= M0; R2 = EXTRACT (r0, r2.l) (Z) || i3 += m1; r7 = ExtracT (r3, r4.L) (X) || I3 += M1 (breV); r5 = ExtRACt (R6, R1.L) (x) || i0 -= 2; BITMUX(R1, R0, A0) (ASR) || I1 -= 4; Bitmux (r2, R3...
stsp/binutils-ia16
1,601
gas/testsuite/gas/bfin/arith_mode.s
.text // Accumulator to Half D-register Moves R0.L = A0; R0.L = A0 (FU); R0.L = A0 (IS); R0.L = A0 (IU); R0.L = A0 (T); R0.L = A0 (TFU); // Not documented R0.L = A0 (S2RND); R0.L = A0 (ISS2); R0.L = A0 (IH); // Accumulator to D-register Moves R0 = A0; R0 = A0 (FU); R0 = A0 (IS); // Not documented R0...
stsp/binutils-ia16
7,136
gas/testsuite/gas/bfin/video2.s
.EXTERN MY_LABEL2; .section .text; // //13 VIDEO PIXEL OPERATIONS // //Dreg = ALIGN8 ( Dreg, Dreg ) ; /* overlay 1 byte (b) */ R0 = ALIGN8(R0, R0); R0 = ALIGN8(R0, R1); R0 = ALIGN8(R1, R0); R0 = ALIGN8(R1, R1); R0 = ALIGN8(R1, R2); R3 = ALIGN8(R4, R5); R6 = ALIGN8(R7, R0); R1 = ALIGN8(R2, R3); R4 = ALIGN8(R5, R6); R...
stsp/binutils-ia16
1,591
gas/testsuite/gas/bfin/cache2.s
.EXTERN MY_LABEL2; .section .text; // //12 CACHE CONTROL // //PREFETCH [ Preg ] ; /* indexed (a) */ PREFETCH [ P0 ] ; PREFETCH [ P1 ] ; PREFETCH [ P2 ] ; PREFETCH [ P3 ] ; PREFETCH [ P4 ] ; PREFETCH [ P5 ] ; PREFETCH [ SP ] ; PREFETCH [ FP ] ; //PREFETCH [ Preg ++ ] ; /* indexed, post increment (a) */ PREFETCH [ P0...
stsp/binutils-ia16
1,354
gas/testsuite/gas/bfin/move.s
.text .global move_register move_register: r7 = A0.X; Fp = B3; l2 = R5; M2 = i2; a1.w = usp; r0 = astat; r1 = sEQstat; R2 = SYScfg; R3 = reti; R4 = RETX; r5 = reTN; r6 = rETe; R7 = RETS; R5 = lc0; r4 = Lc1; r3 = Lt0; r2 = LT1; r1 = Lb0; r0 = LB1; R2 = Cycles; R3 = Cycles2; r1 = emudat; Rets = F...
stsp/binutils-ia16
1,451
gas/testsuite/gas/bfin/parallel4.s
.section .text; R7 = Align8 (r5, r2) || [i0] = r0; R5 = ALIGN16 (R0, R1) || [i0++] = r0; r2 = ALIGN24 (r5, r0) || [i0--] = r0; DISAlgnExcpt || [i1] = r0; R5 = Byteop3p (r1:0, r3:2) (lO) || [i1++] = r0; R0 = BYTEOP3P (R1:0, R3:2) (HI) || // comment test [i1--] = r0; R1 = byteop3p (r1:0, r3:2) (LO, r) || [...
stsp/binutils-ia16
2,747
gas/testsuite/gas/bfin/parallel2.s
.section .text; A0 = A1 || P0 = [sp+20]; a1 = a0 || P0 = [p5+24]; a0 = R0 || P0 = [P4+28]; A1 = r1 || P0 = [P3+32]; R4 = A0 (fu) || P0 = [p3+36]; r5 = A1 (ISS2) || P0 = [P3+40]; R6 = a0 || P0 = [P4+44]; R7 = A1 || P0 = [P4+48]; R6 = A0, R7 = a1 || P0 = [P4+52]; r1 = a1, r0 = a0 (fu) || P0 = [P4+56]; A0.X ...
stsp/binutils-ia16
4,594
gas/testsuite/gas/bfin/control_code2.s
.EXTERN MY_LABEL2; .section .text; // //6 CONTROL CODE BIT MANAGEMENT // //CC = Dreg == Dreg ; /* equal, register, signed (a) */ CC = R7 == R0; CC = R6 == R1; CC = R0 == R7; //CC = Dreg == imm3 ; /* equal, immediate, signed (a) */ CC = R7 == -4; CC = R7 == 3; CC = R0 == -4; CC = R0 == 3; //CC = Dreg < Dreg ; /* le...
stsp/binutils-ia16
1,042
gas/testsuite/gas/bfin/logical2.s
.EXTERN MY_LABEL2; .section .text; // //7 LOGICAL OPERATIONS // //Dreg = Dreg & Dreg ; /* (a) */ R7 = R7 & R7; R7 = R7 & R0; r7 = R7 & R1; R1 = R7 & R7; R2 = R7 & R0; r3 = R7 & R1; //Dreg = ~ Dreg ; /* (a)*/ R7 = ~R7; R7 = ~R0; R0 = ~R7; R0 = ~R2; //Dreg = Dreg | Dreg ; /* (a) */ R7 = R7 | R7; R7 = R7 | R1; R7...
stsp/binutils-ia16
4,881
gas/testsuite/gas/bfin/loop_temps.s
.align 4 .global _filter_mem16; .type _filter_mem16, STT_FUNC; _filter_mem16: [--sp] = ( r7:7 ); [--SP] = R4; [--SP] = R5; [--SP] = P3; [--SP] = P4; LINK 68; [FP+28] = R0; [FP+32] = R1; [FP+36] = R2; [FP+-68] = SP; R0 = SP; [FP+-24] = R0; R0 = [FP+44]; R3 = R0; R3 += 1; R2 = R3; R0 = R2; R1 = 0 (X);...
stsp/binutils-ia16
3,614
gas/testsuite/gas/bfin/flow2.s
.EXTERN MY_LABEL2; .section .text; // //2 Program Flow Control // //JUMP ( Preg ) ; /* indirect to an absolute (not PC-relative)address (a) */ //Preg: P5-0, SP, FP JUMP (P0); JUMP (P1); JUMP (P2); JUMP (P3); JUMP (P4); JUMP (P5); JUMP (SP); JUMP (FP); //JUMP ( PC + Preg ) ; /* PC-relative, indexed (a) */ JUMP (PC...
stsp/binutils-ia16
3,725
gas/testsuite/gas/bfin/arithmetic.s
.text .global abs abs: a0 = abs a0; A0 = ABS A1; A1 = Abs a0; a1 = aBs A1; A1 = abs a1, a0 = ABS A0; r0 = abs r2; .text .global add add: sp = sp + P0; SP = SP + P2; FP = p1 + fp; R7 = r7 + r2 (NS); r6 = r6 + r0 (s); r4.L = R2.h + r0.L (s); r5.H = R1.H + R1.L (S); r6.L = R6.L + r5.l (NS); .text ...
stsp/binutils-ia16
3,836
gas/testsuite/gas/bfin/parallel3.s
.section .text; r4.h = r4.l = Sign (R1.h) * R5.h + Sign(r1.L) * R5.L|| [p0] = P0; R7 = Vit_Max (R5, r2) (ASL)|| [p0++] = P0; r0 = VIT_MAX (r0, r6) (asr)|| [p0--] = P0; r5.l = vit_max (R3) (asL)|| [p0+4] = P0; r2.L = VIT_Max (r2) (Asr)|| [p0+8] = P0; R5 = ABS R5 (V)|| [p0+60] = P0; r2 = abs r0 (v)|| [p0+56] = ...
stsp/binutils-ia16
1,707
gas/testsuite/gas/mips/unaligned-jump-1.s
.text .set noreorder .space 0x1000 .align 4 .ent foo foo: nor $0, $0 jalx bar0 nor $0, $0 jal bar0 nor $0, $0 j bar0 nor $0, $0 jalx bar1 nor $0, $0 jal bar1 nor $0, $0 j bar1 nor $0, $0 jalx bar2 nor $0, $0 jal bar2 nor $0, $0 j bar2 nor $0, $0 jalx bar3 nor $0, $0 jal bar3 nor ...
stsp/binutils-ia16
3,676
gas/testsuite/gas/mips/r6-removed.s
.set reorder .set eva abs.ps $f0,$f2 add.ps $f0,$f2,$f2 addi $15,$16,256 alnv.ps $f0,$f2,$f2,$3 bc0f 1f bc0fl 1f bc0t 1f bc0tl 1f bc1f 1f bc1fl 1f bc1t 1f bc1tl 1f bc2f 1f bc2fl 1f bc2t 1f bc2tl 1f bc3f 1f bc3fl 1f bc3t 1f bc3tl 1f beql $28,$29,1f bgezal $4,1f bgezall $28,1f bgezl $28,1f bgtz...
stsp/binutils-ia16
1,542
gas/testsuite/gas/mips/vr4120-2.s
# Test workarounds selected by -mfix-vr4120. # Note that we only work around bugs gcc may generate. r21: macc $4,$5,$6 div $0,$7,$8 or $4,$5 dmacc $4,$5,$6 div $0,$7,$8 or $4,$5 macc $4,$5,$6 divu $0,$7,$8 or $4,$5 dmacc $4,$5,$6 divu $0,$7,$8 or $4,$5 macc $4,$5,$6 ddiv $0,$7,$8 or $4,$5 dmacc $4...
stsp/binutils-ia16
6,017
gas/testsuite/gas/mips/r5900-full-vu0.s
.set noreorder .set noat .globl text_label .text text_label: # VU Macromode instruction set vabs.xyzw $vf0xyzw,$vf31xyzw vadd.xyzw $vf10xyzw,$vf31xyzw,$vf0xyzw vaddi.xyzw $vf10xyzw,$vf31xyzw,$I vaddq.xyzw $vf10xyzw,$vf31xyzw,$Q vaddw.xyzw $vf10xyzw,$vf31xyzw,$vf1w vaddx.xyzw $vf10xyzw,$vf31xyzw,$vf1x vaddy...
stsp/binutils-ia16
1,206
gas/testsuite/gas/mips/mcu.s
.text .set mcu .ent foo .globl foo foo: iret aclr 0, 0 aclr 0, ($0) aclr 0, 0($0) aclr 1, 0($0) aclr 2, 0($0) aclr 3, 0($0) aclr 4, 0($0) aclr 5, 0($0) aclr 6, 0($0) aclr 7, 0($0) aclr 7, 0($2) aclr 7, 0($31) aclr 7, 2047($31) aclr 7, -2048($31) aclr 7, 2048($31) aclr 7, -2049($31) aclr 7, 32767(...
stsp/binutils-ia16
7,385
gas/testsuite/gas/mips/at-1.s
.text foo: .set at=$1 lw $27, 0x7fff($27) sw $27, 0x7fff($27) lw $27, -0x8000($27) sw $27, -0x8000($27) lw $27, 0x8000($27) sw $27, 0x8000($27) lw $27, -0x8001($27) sw $27, -0x8001($27) lw $27, symbol($27) sw $27, symbol($27) .set at=$2 lw $27, 0x7fff($27) sw $27, 0x7fff($27) lw $27, -0x8000($27) sw $...
stsp/binutils-ia16
1,192
gas/testsuite/gas/mips/cp2m.s
.text .set noreorder foo: lwc2 $0, 0($0) lwc2 $1, 0($0) lwc2 $2, 0($0) lwc2 $3, 0($0) lwc2 $4, 0($0) lwc2 $5, 0($0) lwc2 $6, 0($0) lwc2 $7, 0($0) lwc2 $8, 0($0) lwc2 $9, 0($0) lwc2 $10, 0($0) lwc2 $11, 0($0) lwc2 $12, 0($0) lwc2 $13, 0($0) lwc2 $14, 0($0) lwc2 $15, 0($0) lwc2 $16, 0($0) lwc2 $17, 0(...
stsp/binutils-ia16
1,278
gas/testsuite/gas/mips/mips32r2-ill-fp64.s
# source file to test illegal mips32r2 instructions .set noreorder .set noat .text text_label: # insert and extract position/size checks: # ext constraint: 0 <= pos < 32 ext $4, $5, -1, 1 # error ext $4, $5, 0, 1 ext $4, $5, 31, 1 ext $4, $5, 32, 1 # error # ext constraint: 0 < si...
stsp/binutils-ia16
4,857
gas/testsuite/gas/mips/vr4130.s
.macro check2 insn mflo $2 \insn $3,$3 .endm .macro check3 insn mfhi $2 \insn $0,$3,$3 .endm .macro main func .ent \func .type \func,@function \func: # PART A # # Check that mfhis and mflos in .set noreorder blocks are considered. .set noreorder mfhi $2 .set reorder mult $3,$3 .set noreorder m...
stsp/binutils-ia16
3,125
gas/testsuite/gas/mips/ase-errors-1.s
.set nomicromips .set mips32r2 .set fp=64 .set dsp # OK lbux $4,$5($6) # OK ldx $4,$5($6) # ERROR: 64-bit only absq_s.qb $3,$4 # ERROR: dspr2 not enabled .set fp=32 # OK .set mips32 # ERROR: too low lbux $4,$5($6) # OK ldx $4,$5($6) # ERROR: 64-bit only absq_s.qb $3,$4 # ERROR: dspr2 not enabled ....
stsp/binutils-ia16
2,115
gas/testsuite/gas/mips/mips-abi32-pic2.s
.text .ent func1 func1: .frame $sp,0,$31 .set noreorder .cpload $25 # 0000 lui gp,hi(_gp_disp) # 0004 addiu gp,gp,lo(_gp_disp) # 0008 addu gp,gp,t9 .set reorder .cprestore 8 # 000c sw gp,8(sp) jal end # 0010 lw t9,got(.text)(gp) # 0014 nop # 0018 addiu t9,t9,lo(end) # 001c jalr t9 #...
stsp/binutils-ia16
2,130
gas/testsuite/gas/mips/unaligned-jump-micromips-1.s
.text .set noreorder .space 0x1000 .align 4 .set micromips .ent foo foo: not $2, $3 jalx bar0 not $2, $3 jal bar0 not $2, $3 jals bar0 not $2, $3 j bar0 not $2, $3 jalx bar1 not $2, $3 jal bar1 not $2, $3 jals bar1 not $2, $3 j bar1 not $2, $3 jalx bar2 not $2, $3 jal bar2 not $2, ...
stsp/binutils-ia16
1,048
gas/testsuite/gas/mips/elf-rel9-mips16e2.s
.set mips16 .ent foo foo: move $28, $2 lw $4,%got(l1)($28) addiu $4,%lo(l1) lw $4,%got(l1 + 16)($28) addiu $4,%lo(l1 + 16) lw $4,%got(l1 + 0x7fec)($28) addiu $4,%lo(l1 + 0x7fec) lw $4,%got(l1 + 0x7ff0)($28) addiu $4,%lo(l1 + 0x7ff0) lw $4,%got(l1 + 0xffec)($28) addiu $4,%lo(l1 + 0xffec) lw $4,%got(l1...
stsp/binutils-ia16
1,217
gas/testsuite/gas/mips/octeon-ill.s
.text .set noreorder foo: bbit032 $23,51,foo nop bbit0 $23,71,foo nop bbit132 $23,49,foo nop bbit1 $23,74,foo nop cins $2,0,37 cins32 $19,$31,39,12 cins32 $17,$20,7,25 cins $24,$10,64,8 cins $21...
stsp/binutils-ia16
2,153
gas/testsuite/gas/mips/elf-rel-got-n32.s
# MIPS ELF GOT reloc n32 .data .align 2 sp1: .space 60 .globl dg1 dg1: dl1: .space 60 .text .globl fn .ent fn .type fn,@function fn: .Lfn: la $5,dg1+0 la $5,dg1+12 la $5,dg1+123456 la $5,dg1+0($17) la $5,dg1+12($17) la $5,dg1+123456($17) lw $5,dg1+0 lw $5,dg1+12 lw $5,dg1+0($17) lw $5,dg1+12($17...
stsp/binutils-ia16
1,153
gas/testsuite/gas/mips/loongson-2f.s
.text .set noreorder movz_insns: movz $2, $3, $4 movnz $2, $3, $4 movn $2, $3, $4 integer_insns: mult.g $2, $3, $4 multu.g $5, $6, $7 dmult.g $8, $9, $10 dmultu.g $11, $12, $13 div.g $14, $15, $16 divu.g $17, $18, $19 ddiv.g $20, $21, $22 ddivu.g $23, $24, $25 mod.g $26, $27, $28 modu.g $29...
stsp/binutils-ia16
20,563
gas/testsuite/gas/mips/r5900-error-vu0.s
.set noreorder .set noat .globl text_label .text text_label: # All instructions have at least one error in suffix or in register # usage. All errors should be detected by the assembler. vabs.w $vf0w, $vf0z vabs.w $vf0z, $vf31w vabs.xw $vf0xw, $vf0w vabs.xw $vf0x, $vf31xw vabs.xyzw $vf0xyz, $vf0xyzw vadd...
stsp/binutils-ia16
1,688
gas/testsuite/gas/mips/ase-errors-4.s
.set micromips .set mips64r2 .set dsp # OK lbux $4,$5($6) # OK ldx $4,$5($6) # ERROR: micromips doesn't have 64-bit DSPr1 absq_s.qb $3,$4 # ERROR: dspr2 not enabled .set mips3 # OK (we assume r2 anyway) .set nodsp lbux $4,$5($6) # ERROR: dsp not enabled absq_s.qb $3,$4 # ERROR: dspr2 not enabled .set...
stsp/binutils-ia16
9,323
gas/testsuite/gas/mips/set-arch.s
.text .set noreorder .set noat .set arch=4010 flushi flushd flushid madd $4,$5 maddu $5,$6 ffc $6,$7 ffs $7,$8 msub $8,$9 msubu $9,$10 selsl $10,$11,$12 selsr $11,$12,$13 waiti wb 16($14) addciu $14,$15,16 .set arch=4100 hibernate standby suspend .set arch=4650 mad $4,$5 madu $5,$6 mul ...
stsp/binutils-ia16
3,752
gas/testsuite/gas/mips/mips64-dsp.s
# source file to test assembly of MIPS DSP ASE for MIPS64 instructions .set noreorder .set nomacro .set noat .text text_label: absq_s.pw $0,$1 absq_s.qh $30,$31 addq.pw $5,$6,$7 addq_s.pw $6,$7,$8 addq.qh $2,$3,$4 addq_s.qh $3,$4,$5 addu.ob $9,$10,$11 addu_s.ob $10,$11,$12 bposge64 text_label nop c...
stsp/binutils-ia16
2,750
gas/testsuite/gas/mips/r5900.s
.text stuff: .ent stuff .set push .set noreorder .set noat add $0, $0, $31 add $1, $10, $3 add $31, $31, $0 addi $31, $0, 0 addi $1, $10, 3 addi $0, $31, -1 addiu $31, $0, 0 addiu $1, $10, 3 addiu $31, $0, 0xFFFF and $0, $0, $31 and $1, $10, $3 and $31, $31, $0 andi $31, $0, 0 andi $1, $10, 3 ...
stsp/binutils-ia16
1,232
gas/testsuite/gas/mips/mips16-relax-unextended-1.s
.module mips3 .set mips16 .set autoextend foo: # Operand code: sll.t $2, $3, 17 # < sll.t $2, $3, bar dsll.t $4, $5, 17 # [ dsll.t $4, $5, bar dsrl.t $6, 17 # ] dsrl.t $6, bar lb.t $4, 0x1234($5) # 5 lb.t $4, bar($5) lb.t $4, %hi(baz)($5) slti.t $6, 0x5678 # 8 slti.t $6, bar l...
stsp/binutils-ia16
1,333
gas/testsuite/gas/mips/vr5500.s
.text stuff: .ent stuff /* Integer instructions. */ mul $4,$5,$6 mulu $4,$5,$6 mulhi $4,$5,$6 mulhiu $4,$5,$6 muls $4,$5,$6 mulsu $4,$5,$6 mulshi $4,$5,$6 mulshiu $4,$5,$6 macc $4,$5,$6 maccu $4,$5,$6 macchi $4,$5,$6 macchiu $4,$5,$6 msac $4,$5,$6 msacu $4,$5,$6 msachi $4,$5,$6 msachiu $4,$5,$6 ...
stsp/binutils-ia16
3,564
gas/testsuite/gas/mips/lb.s
# Source file used to test the lb macro. .data data_label: .extern big_external_data_label,1000 .extern small_external_data_label,1 .comm big_external_common,1000 .comm small_external_common,1 .lcomm big_local_common,1000 .lcomm small_local_common,1 .text lb $4,0 lb $4,1 lb $4,0x8000 lb $4,-0x8000 lb $...
stsp/binutils-ia16
1,894
gas/testsuite/gas/mips/unaligned-branch-r6-1.s
.text .set noreorder .space 0x1000 .align 4 .set mips32r6 .ent foo foo: nor $0, $0 bc bar0 nor $0, $0 beqzc $2, bar0 nor $0, $0 beqz $2, bar0 nor $0, $0 bc bar1 nor $0, $0 beqzc $2, bar1 nor $0, $0 beqz $2, bar1 nor $0, $0 bc bar2 nor $0, $0 beqzc $2, bar2 nor $0, $0 beqz $2, bar2 nor $0...
stsp/binutils-ia16
1,506
gas/testsuite/gas/mips/24k-triple-stores-3.s
# Assume to be on the same line (within 32bytes) # Check for individual different double words foo: # safe sb $2,11($sp) sb $3,11($sp) sb $4,4($sp) break # safe sb $2,0($sp) sb $3,11($sp) sb $4,5($sp) break # edge case sb $2,7($sp) sb $3,11($sp) sb $4,16($s...
stsp/binutils-ia16
8,286
gas/testsuite/gas/mips/mips16e2-hilo.s
# Source file used to test li/addi on MIPS16e2 .set mips16 .data data_label: .word 0 data_label2: .word 0 .extern big_external_data_label,1000 .extern small_external_data_label,1 .comm big_external_common,1000 .comm small_external_common,1 .lcomm big_local_common,1000 .lcomm small_local_common,1 .text st...
stsp/binutils-ia16
1,779
gas/testsuite/gas/mips/ldstla-32-mips3-1.s
.set mips3 .text ld $2, 0xfffffffeffffffff($4) ld $2, 0xfffffffe00000000($4) ld $2, 0xabcdef0123456789($4) ld $2, 0x0123456789abcdef($4) ld $2, 0x00000001ffffffff($4) ld $2, 0x0000000100000000($4) ld $2, 0xfffffffeffffffff ld $2, 0xfffffffe00000000 ld $2, 0xabcdef0123456789 ld $2, 0x0123456789abcdef ld $2...
stsp/binutils-ia16
1,383
gas/testsuite/gas/mips/lb-pic.s
# Source file used to test the lb macro with PIC code. .data data_label: .extern big_external_data_label,1000 .extern small_external_data_label,1 .comm big_external_common,1000 .comm small_external_common,1 .lcomm big_local_common,1000 .lcomm small_local_common,1 .text text_label: lb $4,0 lb $4,1 lb $4,0...
stsp/binutils-ia16
1,192
gas/testsuite/gas/mips/cp3d.s
.text .set noreorder foo: ldc3 $0, 0($0) ldc3 $1, 0($0) ldc3 $2, 0($0) ldc3 $3, 0($0) ldc3 $4, 0($0) ldc3 $5, 0($0) ldc3 $6, 0($0) ldc3 $7, 0($0) ldc3 $8, 0($0) ldc3 $9, 0($0) ldc3 $10, 0($0) ldc3 $11, 0($0) ldc3 $12, 0($0) ldc3 $13, 0($0) ldc3 $14, 0($0) ldc3 $15, 0($0) ldc3 $16, 0($0) ldc3 $17, 0(...
stsp/binutils-ia16
1,192
gas/testsuite/gas/mips/cp0m.s
.text .set noreorder foo: lwc0 $0, 0($0) lwc0 $1, 0($0) lwc0 $2, 0($0) lwc0 $3, 0($0) lwc0 $4, 0($0) lwc0 $5, 0($0) lwc0 $6, 0($0) lwc0 $7, 0($0) lwc0 $8, 0($0) lwc0 $9, 0($0) lwc0 $10, 0($0) lwc0 $11, 0($0) lwc0 $12, 0($0) lwc0 $13, 0($0) lwc0 $14, 0($0) lwc0 $15, 0($0) lwc0 $16, 0($0) lwc0 $17, 0(...
stsp/binutils-ia16
1,405
gas/testsuite/gas/mips/elf-rel28.s
# By default test ld/sd. # If defined, test lld/scd instead. .ifdef tlldscd .macro ld ops:vararg lld \ops .endm .macro sd ops:vararg scd \ops .endm .endif .ent foo foo: # Many of these do not make conceptual sense, but they should # at least assemble. ld $4,%call_hi(bar)($4) ld $4,%call_lo(bar)($4) ld $...