repo_id stringlengths 5 115 | size int64 590 5.01M | file_path stringlengths 4 212 | content stringlengths 590 5.01M |
|---|---|---|---|
stsp/binutils-ia16 | 1,441 | sim/testsuite/h8300/adds.s | # Hitachi H8 testcase 'adds'
# mach(): h8300h h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
# Instructions tested:
... |
stsp/binutils-ia16 | 48,429 | sim/testsuite/h8300/movl.s | # Hitachi H8 testcase 'mov.l'
# mach(): h8300h h8300s h8sx
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.data
.align 4
long_dst_dec:
.long 0
long_sr... |
stsp/binutils-ia16 | 1,514 | sim/testsuite/h8300/andw.s | # Hitachi H8 testcase 'and.w'
# mach(): h8300h h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.if (sim_cpu) ... |
stsp/binutils-ia16 | 2,570 | sim/testsuite/h8300/cmpw.s | # Hitachi H8 testcase 'cmp.w'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.if (sim_cpu == h8sx) ; 3-bit ... |
stsp/binutils-ia16 | 1,514 | sim/testsuite/h8300/xorw.s | # Hitachi H8 testcase 'xor.w'
# mach(): h8300h h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.if (sim_cpu) ... |
stsp/binutils-ia16 | 8,117 | sim/testsuite/h8300/stack.s | # Hitachi H8 testcase 'ldc'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.data
.align 4
stack:
.if (sim_... |
stsp/binutils-ia16 | 2,015 | sim/testsuite/h8300/brabc.s | # Hitachi H8 testcase 'bra/bc'
# mach(): h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
.data
byte_src: .byte 0xa5
start
... |
stsp/binutils-ia16 | 1,997 | sim/testsuite/h8300/subw.s | # Hitachi H8 testcase 'sub.w'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.if (sim_cpu == h8sx) ; 3-bit i... |
stsp/binutils-ia16 | 1,727 | sim/testsuite/h8300/xorl.s | # Hitachi H8 testcase 'xor.l'
# mach(): h8300h h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.if (sim_cpu =... |
stsp/binutils-ia16 | 1,726 | sim/testsuite/h8300/andl.s | # Hitachi H8 testcase 'and.l'
# mach(): h8300h h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.if (sim_cpu =... |
stsp/binutils-ia16 | 2,599 | sim/testsuite/h8300/dec.s | # Hitachi H8 testcase 'dec.b, dec.w, dec.l'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
dec_b:
set_grs_... |
stsp/binutils-ia16 | 38,858 | sim/testsuite/h8300/rotr.s | # Hitachi H8 testcase 'rotr'
# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.data
byte_dest: .byte ... |
stsp/binutils-ia16 | 2,209 | sim/testsuite/h8300/movmd.s | # Hitachi H8 testcase 'movmd'
# mach(): h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
.data
byte_src:
.byte 1, 2, 3, 4, 5,... |
stsp/binutils-ia16 | 87,156 | sim/testsuite/h8300/shlr.s | # Hitachi H8 testcase 'shlr'
# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.data
byte_dest: .byte ... |
stsp/binutils-ia16 | 11,255 | sim/testsuite/h8300/extw.s | # Hitachi H8 testcase 'exts.w, extu.w'
# mach(): h8300h h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.data... |
stsp/binutils-ia16 | 6,997 | sim/testsuite/h8300/stc.s | # Hitachi H8 testcase 'stc'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
.data
byte_dest1:
.byte 0
.byte 0
byte_... |
stsp/binutils-ia16 | 51,202 | sim/testsuite/h8300/movb.s | # Hitachi H8 testcase 'mov.b'
# mach(): h8300h h8300s h8sx
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.data
.align 4
byte_dst_dec:
.byte 0
byte_sr... |
stsp/binutils-ia16 | 4,679 | sim/testsuite/h8300/bfld.s | # Hitachi H8 testcase 'bfld', 'bfst'
# mach(): h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
.data
byte_src: .byte 0xa5
byt... |
stsp/binutils-ia16 | 5,946 | sim/testsuite/h8300/div.s | # Hitachi H8 testcase 'divs', 'divu', 'divxs', 'divxu'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.if (... |
stsp/binutils-ia16 | 1,820 | sim/testsuite/h8300/movsd.s | # Hitachi H8 testcase 'movsd'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
.data
src: .byte 'h', 'e', 'l', 'l', '... |
stsp/binutils-ia16 | 22,331 | sim/testsuite/h8300/addx.s | # Hitachi H8 testcase 'addx'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
# Instructions tested:
# addx.b #xx:8... |
stsp/binutils-ia16 | 11,981 | sim/testsuite/h8300/orb.s | # Hitachi H8 testcase 'or.b'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
# Instructions tested:
# or.b #xx:8... |
stsp/binutils-ia16 | 42,164 | sim/testsuite/h8300/shar.s | # Hitachi H8 testcase 'shar'
# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.data
byte_dest: .byte ... |
stsp/binutils-ia16 | 8,171 | sim/testsuite/h8300/shll.s | # Hitachi H8 testcase 'shll'
# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.data
byte_dest: .byte ... |
stsp/binutils-ia16 | 42,455 | sim/testsuite/h8300/rotxr.s | # Hitachi H8 testcase 'rotxr'
# mach(): h8300s h8sx
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.data
byte_dest: .byte... |
stsp/binutils-ia16 | 2,597 | sim/testsuite/h8300/inc.s | # Hitachi H8 testcase 'inc, inc.w, inc.l'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
inc_b:
set_grs_a5... |
stsp/binutils-ia16 | 22,700 | sim/testsuite/h8300/subx.s | # Hitachi H8 testcase 'subx'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
# Instructions tested:
# subx.b #xx:8... |
stsp/binutils-ia16 | 41,951 | sim/testsuite/h8300/movw.s | # Hitachi H8 testcase 'mov.w'
# mach(): h8300h h8300s h8sx
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
start
.data
.align 2
word_dst_dec:
.word 0
word_sr... |
stsp/binutils-ia16 | 7,295 | sim/testsuite/h8300/mul.s | # Hitachi H8 testcase 'muls', 'muls/u', mulu', 'mulu/u', 'mulxs', 'mulxu'
# mach(): all
# as(h8300): --defsym sim_cpu=0
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.... |
stsp/binutils-ia16 | 41,115 | sim/testsuite/h8300/addl.s | # Hitachi H8 testcase 'add.l'
# mach(): h8300h h8300s h8sx
# as(h8300h): --defsym sim_cpu=1
# as(h8300s): --defsym sim_cpu=2
# as(h8sx): --defsym sim_cpu=3
# ld(h8300h): -m h8300helf
# ld(h8300s): -m h8300self
# ld(h8sx): -m h8300sxelf
.include "testutils.inc"
# Instructions tested:
# add.l xx:3, erd
# add.l xx:... |
stsp/binutils-ia16 | 5,445 | sim/testsuite/or1k/mfspr.S | /* Tests instructions l.mfspr and l.mtspr.
Copyright (C) 2017-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 | 7,113 | sim/testsuite/or1k/ext.S | /* Tests the l.ext{b,h}{s,z} instructions.
Copyright (C) 2017-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 | 6,227 | sim/testsuite/or1k/or.S | /* Tests instructions l.or, l.ori.
Copyright (C) 2017-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 ... |
stsp/binutils-ia16 | 9,037 | sim/testsuite/or1k/flag.S | /* Tests the set flag (l.sf*) instructions.
Copyright (C) 2017-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,423 | sim/testsuite/or1k/fpu.S | /* Tests some basic fpu instructions.
Copyright (C) 2017-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 yo... |
stsp/binutils-ia16 | 3,346 | sim/testsuite/or1k/jump.S | /* Tests the jump instructions.
Copyright (C) 2017-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 opt... |
stsp/binutils-ia16 | 20,517 | sim/testsuite/or1k/add.S | /* Tests instructions l.add, l.addc, l.addi and l.addic.
Copyright (C) 2017-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 Li... |
stsp/binutils-ia16 | 9,141 | sim/testsuite/or1k/basic.S | /* Tests some basic CPU instructions.
Copyright (C) 2017-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 yo... |
stsp/binutils-ia16 | 8,100 | sim/testsuite/or1k/load.S | /* Tests the load and store instructions.
Copyright (C) 2017-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
(a... |
stsp/binutils-ia16 | 15,484 | sim/testsuite/or1k/shift.S | /* Tests the shift instructions.
Copyright (C) 2017-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 op... |
stsp/binutils-ia16 | 27,149 | sim/testsuite/or1k/mac.S | /* Tests the MAC instructions.
Copyright (C) 2017-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 opti... |
stsp/binutils-ia16 | 8,972 | sim/testsuite/or1k/div.S | /* Tests the divide instructions.
Copyright (C) 2017-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 o... |
stsp/binutils-ia16 | 1,909 | sim/testsuite/or1k/adrp.S | /* Tests the load page address instruction.
Copyright (C) 2019-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 | 6,250 | sim/testsuite/or1k/and.S | /* Tests instructions l.and, l.andi.
Copyright (C) 2017-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 you... |
stsp/binutils-ia16 | 2,444 | sim/testsuite/or1k/fpu64a32-unordered.S | /* Tests some basic unordered fpu compare instructions.
Copyright (C) 2019-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 Lic... |
stsp/binutils-ia16 | 2,315 | sim/testsuite/or1k/fpu-unordered.S | /* Tests some basic unordered fpu compare instructions.
Copyright (C) 2019-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 Lic... |
stsp/binutils-ia16 | 18,041 | sim/testsuite/or1k/mul.S | /* Tests the multiply instructions.
Copyright (C) 2017-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... |
stsp/binutils-ia16 | 4,321 | sim/testsuite/or1k/fpu64a32.S | /* Tests some basic fpu instructions.
Copyright (C) 2019-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 yo... |
stsp/binutils-ia16 | 2,631 | sim/testsuite/or1k/find.S | /* Tests the find instructions.
Copyright (C) 2017-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 opt... |
stsp/binutils-ia16 | 6,252 | sim/testsuite/or1k/xor.S | /* Tests instructions l.xor, l.xori.
Copyright (C) 2017-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 you... |
stsp/binutils-ia16 | 4,656 | sim/testsuite/or1k/ror.S | /* Tests instructions l.ror and l.rori.
Copyright (C) 2017-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 ... |
stsp/binutils-ia16 | 6,846 | sim/testsuite/or1k/sub.S | /* Tests instruction l.sub.
Copyright (C) 2017-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)... |
stsp/binutils-ia16 | 3,095 | sim/testsuite/bpf/alu.s | # mach: bpf
# output: pass\nexit 0 (0x0)\n
;;; alu.s
;;; Tests for ALU64 BPF instructions in simulator
.include "testutils.inc"
.text
.global main
.type main, @function
main:
mov %r1, 0
mov %r2, -1
;; add
add %r1, 1
add %r2, -1
add %r1, ... |
stsp/binutils-ia16 | 3,044 | sim/testsuite/bpf/jmp.s | # mach: bpf
# output: pass\nexit 0 (0x0)\n
;;; jmp.s
;;; Tests for eBPF JMP instructions in simulator
.include "testutils.inc"
.text
.global main
.type main, @function
main:
mov %r1, 5
mov %r2, 2
mov %r3, 7
mov %r4, -1
;; ja - jump absolute (uncondi... |
stsp/binutils-ia16 | 1,088 | sim/testsuite/bpf/mov.s | # mach: bpf
# output: pass\nexit 0 (0x0)\n
;; mov.s
;; Tests for mov and mov32 instructions
.include "testutils.inc"
.text
.global main
.type main, @function
main:
;; some basic sanity checks
mov32 %r1, 5
fail_ne %r1, 5
mov32 %r2, %r1
fail_ne %r2, 5
mov ... |
stsp/binutils-ia16 | 2,479 | sim/testsuite/bpf/ldabs.s | # mach: bpf
# sim: --skb-data-offset=0x20
# output: pass\nexit 0 (0x0)\n
;;; ldabs.s
;;; Tests for non-generic BPF load instructions in simulator.
;;; These instructions (ld{abs,ind}{b,h,w,dw}) are used to access
;;; kernel socket data from BPF programs for high performance filters.
;;;
;;; Register r6 is an implicit i... |
stsp/binutils-ia16 | 1,066 | sim/testsuite/bpf/xadd.s | # mach: bpf
# output: pass\nexit 0 (0x0)\n
;;; xadd.s
;;; Tests for BPF atomic exchange-and-add instructions in simulator
;;;
;;; The xadd instructions (XADDW, XADDDW) operate on a memory location
;;; specified in $dst + offset16, atomically adding the value in $src.
;;;
;;; In the simulator, there isn't anything else ... |
stsp/binutils-ia16 | 1,044 | sim/testsuite/bpf/endbe.s | # mach: bpf
# as: --EB
# ld: --EB
# sim: -E big
# output: pass\nexit 0 (0x0)\n
;;; endbe.s
;;; Tests for BPF endianness-conversion instructions in simulator
;;; running in BIG ENDIAN
;;;
;;; Both 'be' and 'le' ISAs have both endbe and endle instructions.
.include "testutils.inc"
.text
.global main
.ty... |
stsp/binutils-ia16 | 3,048 | sim/testsuite/bpf/jmp32.s | # mach: bpf
# output: pass\nexit 0 (0x0)\n
;;; jmp32.s
;;; Tests for eBPF JMP32 instructions in simulator
.include "testutils.inc"
.text
.global main
.type main, @function
main:
mov32 %r1, 5
mov32 %r2, 2
mov32 %r3, 7
mov32 %r4, -1
;; ja - jump absolute (unc... |
stsp/binutils-ia16 | 1,403 | sim/testsuite/bpf/mem.s | # mach: bpf
# output: pass\nexit 0 (0x0)\n
;;; mem.s
;;; Tests for BPF memory (ldx, stx, ..) instructions in simulator
.include "testutils.inc"
.text
.global main
.type main, @function
main:
lddw %r1, 0x1234deadbeef5678
mov %r2, 0x1000
;; basic store/load check
stxb ... |
stsp/binutils-ia16 | 3,084 | sim/testsuite/bpf/alu32.s | # mach: bpf
# output: pass\nexit 0 (0x0)\n
;; alu32.s
;; Tests for ALU(32) BPF instructions in simulator
.include "testutils.inc"
.text
.global main
.type main, @function
main:
mov32 %r1, 10 ; r1 = 10
mov32 %r2, -5 ; r2 = -5
;; add
add32 %r1, 1 ... |
stsp/binutils-ia16 | 4,321 | sim/testsuite/d10v/t-mod-ld-pre.s | # mach: all
# output:
# sim: --environment operating
.include "t-macros.i"
start
mvfc r0, PSW || ldi.s r14, #0
ldi.l r2, 0x100 ; MOD_E
ldi.l r3, 0x108 ; MOD_S
test_mod_dec_ld:
mvtc r2, MOD_E || bseti r0, #7... |
stsp/binutils-ia16 | 1,820 | sim/testsuite/d10v/t-mvtc.s | # mach: all
# output:
# sim: --environment operating
# as: -W
.include "t-macros.i"
start
;;; Try out each bit in the PSW
loadpsw2 PSW_SM
checkpsw2 1 PSW_SM
loadpsw2 PSW_01
checkpsw2 2 0 ;; PSW_01
loadpsw2 PSW_EA
checkpsw2 3 PSW_EA
loadpsw2 PSW_DB
checkpsw2 4 PSW_DB
loadpsw2 PSW_DM
checkpsw2 5 0 ;; P... |
stsp/binutils-ia16 | 1,118 | sim/testsuite/d10v/t-mac.s | # mach: all
# output:
# sim: --environment operating
.include "t-macros.i"
start
;; clear FX
loadpsw2 0x8005
loadacc2 a1 0x7f 0xffff 0xffff
load r8 0xffff
load r9 0x8001
test_macu1:
MACU a1, r9, r8
checkacc2 1 a1 0x80 0x8000 0x7FFE
;; set FX
loadpsw2 0x8085
loadacc2 a1 0x7f 0xffff 0xffff
load r8 0xffff
... |
stsp/binutils-ia16 | 10,168 | gdb/testsuite/gdb.btrace/i686-tailcall.S | /* This testcase is part of GDB, the GNU debugger.
Copyright 2013-2022 Free Software Foundation, Inc.
Contributed by Intel Corp. <markus.t.metzger@intel.com>
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 Fr... |
stsp/binutils-ia16 | 12,814 | gdb/testsuite/gdb.btrace/x86_64-tailcall-only.S | /* This testcase is part of GDB, the GNU debugger.
Copyright 2016-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,176 | gdb/testsuite/gdb.btrace/x86_64-tailcall.S | /* This testcase is part of GDB, the GNU debugger.
Copyright 2013-2022 Free Software Foundation, Inc.
Contributed by Intel Corp. <markus.t.metzger@intel.com>
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 Fr... |
stsp/binutils-ia16 | 12,801 | gdb/testsuite/gdb.btrace/i686-tailcall-only.S | /* This testcase is part of GDB, the GNU debugger.
Copyright 2016-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,990 | gdb/testsuite/gdb.btrace/x86_64-record_goto.S | /* This testcase is part of GDB, the GNU debugger.
Copyright 2013-2022 Free Software Foundation, Inc.
Contributed by Intel Corp. <markus.t.metzger@intel.com>
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 Fr... |
stsp/binutils-ia16 | 9,903 | gdb/testsuite/gdb.btrace/i686-record_goto.S | /* This testcase is part of GDB, the GNU debugger.
Copyright 2013-2022 Free Software Foundation, Inc.
Contributed by Intel Corp. <markus.t.metzger@intel.com>
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 Fr... |
stsp/binutils-ia16 | 10,218 | gdb/testsuite/gdb.base/disasm-optim.S | /* This testcase is part of GDB, the GNU debugger.
Copyright (C) 2015-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,... |
stsp/binutils-ia16 | 3,229 | gdb/testsuite/gdb.compile/compile-constvar.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 | 67,586 | gdb/testsuite/gdb.disasm/t03_add.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;arith_1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
add.b #0x12:8,r1h ;8112
add.b #0x12:8,@er1 ;7d108012
add.b #0x1... |
stsp/binutils-ia16 | 64,344 | gdb/testsuite/gdb.disasm/t05_cmp.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;arith_1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
cmp.b @er3,@er1 ;7c350120
cmp.b @er3,@(3:2,er1) ;7c353120
cm... |
stsp/binutils-ia16 | 37,946 | gdb/testsuite/gdb.disasm/hppa.s | .SPACE $PRIVATE$
.SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
.SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
.SPACE $TEXT$
.SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
.SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
.IMPORT $global$,DATA
.IMPORT $$dyncall,MILLICODE
; gcc_compiled.:
.SPACE $TEXT$
.SUBSPA $CODE$
... |
stsp/binutils-ia16 | 2,899 | gdb/testsuite/gdb.disasm/mn10200.s | .text
.global _main
.global add_tests
.global bCC_tests
.global bCCx_tests
.global bit_tests
.global cmp_tests
.global extend_tests
.global logical_tests
.global mov_tests_1
.global mov_tests_2
.global mov_tests_3
.global mov_tests_4
.global movb_tests
.global movbu_tests
.global movx_tests
.global mis... |
stsp/binutils-ia16 | 5,814 | gdb/testsuite/gdb.disasm/h8300s.s | .h8300s
.section .text
.align 2
.global _main
.global movb_tests
.global movw_tests
.global movl_tests
.global ldm_stm_tests
.global movfpe_movtpe_tests
.global add_sub_addx_subx_tests
.global inc_dec_adds_subs_tests
.global daa_das_tests
.global mul_div_tests
.global cmp_tests
.global neg_tests
.global... |
stsp/binutils-ia16 | 4,998 | gdb/testsuite/gdb.disasm/t06_ari2.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;arith_2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
addx.b #0x12:8,r1h ;9112
addx.b #0x12:8,@er1 ;7d109012
addx.b #0x12:8,@er1- ;01766c189012
... |
stsp/binutils-ia16 | 66,800 | gdb/testsuite/gdb.disasm/t01_mov.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;mov
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
mov.b #0x12:8,r3h ;f312
mov.b #0x12:8,@er3 ;017d0312
mov.b #0x12:8,@(0x1:2,er3) ... |
stsp/binutils-ia16 | 16,021 | gdb/testsuite/gdb.disasm/t02_mova.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;mova
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
mova/b.c @(0x1234:16,r3l.b),er1 ;7A891234
mova/b.c @(0x1234:16,r3.w),er1 ;7A991234
mova/w.c @(0x1234:16,r3l... |
stsp/binutils-ia16 | 67,588 | gdb/testsuite/gdb.disasm/t04_sub.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;arith_1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
sub.b #0x12:8,@er1 ;7d10a112
sub.b #0x12:8,@(0x3:2,er1) ;01776818a112
sub.b #0... |
stsp/binutils-ia16 | 5,816 | gdb/testsuite/gdb.disasm/t13_otr.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;others
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.org 0x12
lab_12:
.org 0x1234
.global _start
_start:
bra 0x12+.+2 ;4012
brn 0x12+.+2 ;4112
bhi 0x12+.+... |
stsp/binutils-ia16 | 7,887 | gdb/testsuite/gdb.disasm/t07_ari3.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;arith_3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
neg.b r1h ;1781
neg.b @er1 ;7d101780
neg.b @(0x3:2,er1) ;017768181780
neg.... |
stsp/binutils-ia16 | 65,202 | gdb/testsuite/gdb.disasm/t10_and.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;log_1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
and.b #0x12:8,r1h ;e112
and.b #0x12:8,@er1 ;7d10e012
and.b #0x12:8,@(0x3:2,er1) ;01776818e012
... |
stsp/binutils-ia16 | 65,197 | gdb/testsuite/gdb.disasm/t09_xor.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;log_1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
xor.b #0x12:8,r1h ;d112
xor.b #0x12:8,@er1 ;7d10d012
xor.b #0x12:8,@(0x3:2,er1) ;01776818d012
... |
stsp/binutils-ia16 | 4,045 | gdb/testsuite/gdb.disasm/mn10300.s | .text
.global _main
.global add_tests
.global bCC_tests
.global bit_tests
.global cmp_tests
.global extend_tests
.global extended_tests
.global logical_tests
.global loop_tests
.global mov_tests_1
.global mov_tests_2
.global mov_tests_3
.global mov_tests_4
.global movbu_tests
.global movhu_tests
.globa... |
stsp/binutils-ia16 | 54,669 | gdb/testsuite/gdb.disasm/t11_logs.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;log_sft
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
not.b r1h ;1701
not.b @er1 ;7d101700
not.b @(0x3:2,er1) ;017768181700
not.... |
stsp/binutils-ia16 | 9,266 | gdb/testsuite/gdb.disasm/am33.s |
.globl _main
.globl call_tests
.globl movm_tests
.globl misc_tests
.globl mov_tests
.globl ext_tests
.globl add_tests
.globl sub_tests
.globl cmp_tests
.globl logical_tests
.globl shift_tests
.globl muldiv_tests
.globl movbu_tests
.globl movhu_tests
.globl mac_tests
.globl bit_tests
.globl dsp_add_tes... |
stsp/binutils-ia16 | 64,432 | gdb/testsuite/gdb.disasm/t08_or.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;log_1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
or.b #0x12:8,r1h ;c112
or.b #0x12:8,@er1 ;7d10c012
or.b #0x12:8,@(0x3:2,er1) ;01776818c012
... |
stsp/binutils-ia16 | 6,912 | gdb/testsuite/gdb.disasm/t12_bit.s | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;bit
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.h8300sx
.text
.global _start
_start:
bset #0x7,r1h ;7071
bset #0x7,@er1 ;7d107070
bset #0x7,@0xffffff12:8 ;7f127070
... |
stsp/binutils-ia16 | 9,045 | gdb/testsuite/gdb.mi/mi-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 prog... |
stsp/binutils-ia16 | 26,100 | gdb/testsuite/gdb.mi/mi2-amd64-entry-value.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 | 5,418 | gdb/testsuite/gdb.mi/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 | 6,399 | gdb/testsuite/gdb.linespec/break-asm-file1.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,483 | gdb/testsuite/gdb.linespec/break-asm-file0.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 | 1,903 | gdb/testsuite/gdb.asm/asmsrc1.s | .include "common.inc"
.include "arch.inc"
comment "WARNING: asm-source.exp checks for line numbers printed by gdb."
comment "Be careful about changing this file without also changing"
comment "asm-source.exp."
comment "This file is not linked with crt0."
comment "Provide very simplistic equivalent."
.glob... |
stsp/binutils-ia16 | 8,843 | gdb/testsuite/gdb.reverse/singlejmp-reverse.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 | 1,198 | gdb/testsuite/gdb.reverse/singlejmp-reverse-nodebug.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 | 10,325 | gdb/testsuite/gdb.reverse/amd64-tailcall-reverse.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 | 35,648 | gdb/testsuite/gdb.cp/namelessclass.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
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.