2 # Generate test result data for xstormy16 GAS testing.
3 # This script is machine generated.
4 # It is intended to be run in the testsuite source directory.
6 # Syntax: build.sh /path/to/build/gas
9 if [ ! -x ..
/gas
/as-new
] ; then
10 echo "Usage: $0 [/path/to/gas/build]"
18 if [ ! -x $BUILD/as-new
] ; then
19 echo "$BUILD is not a gas build directory"
23 # Put results here, so we preserve the existing set for comparison.
30 $BUILD/as-new
${1}.s
-o a.out
32 echo "#objdump: -dr" >>${1}.d
33 echo "#name: $1" >>${1}.d
34 $BUILD/..
/binutils
/objdump
-dr a.out |
sed -e 's/(/\\(/g' -e 's/)/\\)/g' -e 's/\$/\\$/g' -e 's/\[/\\\[/g' -e 's/\]/\\\]/g' -e 's/[+]/\\+/g' -e 's/[.]/\\./g' -e 's/[*]/\\*/g' |
sed -e 's/^.*file format.*$/.*: +file format .*/' >>${1}.d
38 # Now come all the testcases.
59 mov.w 0x7f00+255,#65535
60 mov.w 0x7f00+128,#32768
61 mov.b 0x7f00+127,#32767
63 mov.b 0x7f00+165,#1944
64 mov.w 0x7f00+186,#11517
65 mov.b 0x7f00+63,#25556
122 .global movgrgripostinc
133 .global movgrgripredec
155 .global movgripostincgr
166 .global movgripredecgr
188 .global movgrgriipostinc
192 mov.w r4,(r8++,-2048)
196 mov.b r7,(r15++,1060)
199 .global movgrgriipredec
203 mov.w r4,(--r8,-2048)
206 mov.w r0,(--r15,1780)
208 mov.w r7,(--r3,-2033)
221 .global movgriipostincgr
225 mov.w (r8++,-2048),r4
232 .global movgriipredecgr
236 mov.w (--r8,-2048),r4
240 mov.w (--r14,-1444),r2
353 .global movfgrgripostinc
364 .global movfgrgripredec
386 .global movfgripostincgr
397 .global movfgripredecgr
411 movf.w r7,(r15,r15,-1)
412 movf.w r4,(r12,r8,-2048)
413 movf.b r3,(r11,r7,2047)
415 movf.b r7,(r15,r0,1473)
416 movf.w r2,(r8,r9,-1522)
417 movf.w r2,(r13,r1,480)
419 .global movfgrgriipostinc
421 movf.b r0,(r8,r0++,0)
422 movf.w r7,(r15,r15++,-1)
423 movf.w r4,(r12,r8++,-2048)
424 movf.b r3,(r11,r7++,2047)
425 movf.w r1,(r9,r1++,1)
426 movf.b r1,(r8,r2++,1398)
427 movf.w r4,(r8,r9++,-778)
428 movf.w r1,(r13,r14++,1564)
430 .global movfgrgriipredec
432 movf.b r0,(r8,--r0,0)
433 movf.w r7,(r15,--r15,-1)
434 movf.w r4,(r12,--r8,-2048)
435 movf.b r3,(r11,--r7,2047)
436 movf.w r1,(r9,--r1,1)
437 movf.b r6,(r8,--r7,254)
438 movf.w r5,(r12,--r12,1673)
439 movf.b r0,(r8,--r10,-38)
444 movf.w (r15,r15,-1),r7
445 movf.w (r12,r8,-2048),r4
446 movf.b (r11,r7,2047),r3
448 movf.w (r15,r2,-1636),r3
449 movf.w (r14,r12,1626),r1
450 movf.b (r11,r14,1540),r0
452 .global movfgriipostincgr
454 movf.b (r8,r0++,0),r0
455 movf.w (r15,r15++,-1),r7
456 movf.w (r12,r8++,-2048),r4
457 movf.b (r11,r7++,2047),r3
458 movf.w (r9,r1++,1),r1
459 movf.b (r15,r13++,466),r3
460 movf.b (r11,r11++,250),r4
461 movf.b (r10,r10++,-1480),r7
463 .global movfgriipredecgr
465 movf.b (r8,--r0,0),r0
466 movf.w (r15,--r15,-1),r7
467 movf.w (r12,--r8,-2048),r4
468 movf.b (r11,--r7,2047),r3
469 movf.w (r9,--r1,1),r1
470 movf.b (r13,--r10,-608),r0
471 movf.b (r9,--r11,831),r7
472 movf.w (r15,--r15,-2036),r6
1253 bpl r8,r8,-2048+(.+4)
1254 bls r7,r7,2047+(.+4)
1256 bc r3,r13,1799+(.+4)
1257 bge r1,r10,-2019+(.+4)
1258 bz r0,r5,-1132+(.+4)
1264 bpl r4,#128,-2048+(.+4)
1265 bls r3,#127,2047+(.+4)
1267 bnc r3,#8,1473+(.+4)
1268 bnz.b r5,#203,1619+(.+4)
1269 bc r7,#225,978+(.+4)
1274 bz Rx,#65535,-1+(.+4)
1275 bpl Rx,#32768,-128+(.+4)
1276 bls Rx,#32767,127+(.+4)
1278 bz.b Rx,#30715,4+(.+4)
1279 bnv Rx,#62266,-13+(.+4)
1280 bnv Rx,#48178,108+(.+4)
1286 bn r8,#8,-2048+(.+4)
1289 bn r11,#3,-1975+(.+4)
1290 bn r15,#4,-1205+(.+4)
1291 bn r10,#8,1691+(.+4)
1297 bn r8,r8,-2048+(.+4)
1308 bn 128,#4,-2048+(.+4)
1309 bn 127,#3,2047+(.+4)
1311 bn 153,#7,-847+(.+4)
1312 bn 204,#0,-1881+(.+4)
1313 bn 242,#7,1396+(.+4)
1317 bn 0x7f00+0,#0,0+(.+4)
1318 bn 0x7f00+255,#7,-1+(.+4)
1319 bn 0x7f00+128,#4,-2048+(.+4)
1320 bn 0x7f00+127,#3,2047+(.+4)
1321 bn 0x7f00+1,#1,1+(.+4)
1322 bn 0x7f00+185,#3,-614+(.+4)
1323 bn 0x7f00+105,#1,-668+(.+4)
1324 bn 0x7f00+79,#7,1312+(.+4)
1330 bp r8,#8,-2048+(.+4)
1333 bp r0,#12,1075+(.+4)
1341 bp r8,r8,-2048+(.+4)
1345 bp r9,r10,-1360+(.+4)
1352 bp 128,#4,-2048+(.+4)
1353 bp 127,#3,2047+(.+4)
1355 bp 193,#3,-398+(.+4)
1356 bp 250,#2,-1553+(.+4)
1361 bp 0x7f00+0,#0,0+(.+4)
1362 bp 0x7f00+255,#7,-1+(.+4)
1363 bp 0x7f00+128,#4,-2048+(.+4)
1364 bp 0x7f00+127,#3,2047+(.+4)
1365 bp 0x7f00+1,#1,1+(.+4)
1366 bp 0x7f00+195,#1,-432+(.+4)
1367 bp 0x7f00+129,#5,-1508+(.+4)
1368 bp 0x7f00+56,#3,1723+(.+4)
1404 # Finally, generate the .d file.
This page took 0.056784 seconds and 5 git commands to generate.