From 71e4ba50863085ea6dcef906e56eab0582bfce5b Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Sat, 24 Jan 1998 02:40:00 +0000 Subject: [PATCH] new testcase lower-1 --- gas/testsuite/gas/txvu/.Sanitize | 2 + gas/testsuite/gas/txvu/lower-1.d | 149 +++++++++++++++++++++++++++++++ gas/testsuite/gas/txvu/lower-1.s | 72 +++++++++++++++ gas/testsuite/gas/txvu/txvu.exp | 1 + 4 files changed, 224 insertions(+) create mode 100644 gas/testsuite/gas/txvu/lower-1.d create mode 100644 gas/testsuite/gas/txvu/lower-1.s diff --git a/gas/testsuite/gas/txvu/.Sanitize b/gas/testsuite/gas/txvu/.Sanitize index 8a0fd7e808d..1919d57ebe5 100644 --- a/gas/testsuite/gas/txvu/.Sanitize +++ b/gas/testsuite/gas/txvu/.Sanitize @@ -28,6 +28,8 @@ basic-1.d basic-1.s br-1.d br-1.s +lower-1.d +lower-1.s upper-1.d upper-1.s diff --git a/gas/testsuite/gas/txvu/lower-1.d b/gas/testsuite/gas/txvu/lower-1.d new file mode 100644 index 00000000000..0396c1894ea --- /dev/null +++ b/gas/testsuite/gas/txvu/lower-1.d @@ -0,0 +1,149 @@ +#as: +#objdump: -dr +#name: lower-1 + +.*: +file format .* + +Disassembly of section .text: + +0* : + 0: ff 03 00 40[ ]*nop[ ]*b 1ff8 + 4: ff 02 00 00 + 8: ff 03 03 42[ ]*nop[ ]*bal vi03,2000 + c: ff 02 00 00 + 10: bc 03 21 81[ ]*nop[ ]*div q,vf00y,vf00x + 14: ff 02 00 00 + 18: fd 07 20 80[ ]*nop[ ]*eatan p,vf00y + 1c: ff 02 00 00 + 20: 7c 07 e0 81[ ]*nop[ ]*eatanxy p,vf00 + 24: ff 02 00 00 + 28: 7d 07 e0 81[ ]*nop[ ]*eatanxz p,vf00 + 2c: ff 02 00 00 + 30: fe 07 20 80[ ]*nop[ ]*eexp p,vf00y + 34: ff 02 00 00 + 38: 4e 07 e0 81[ ]*nop[ ]*eleng p,vf00 + 3c: ff 02 00 00 + 40: be 07 20 80[ ]*nop[ ]*ercpr p,vf00y + 44: ff 02 00 00 + 48: 3f 07 e0 81[ ]*nop[ ]*erleng p,vf00 + 4c: ff 02 00 00 + 50: 3d 07 e0 81[ ]*nop[ ]*ersadd p,vf00 + 54: ff 02 00 00 + 58: bd 07 20 80[ ]*nop[ ]*ersqrt p,vf00y + 5c: ff 02 00 00 + 60: 3c 07 e0 81[ ]*nop[ ]*esadd p,vf00 + 64: ff 02 00 00 + 68: fc 07 20 80[ ]*nop[ ]*esin p,vf00y + 6c: ff 02 00 00 + 70: bc 07 20 80[ ]*nop[ ]*esqrt p,vf00y + 74: ff 02 00 00 + 78: 7e 07 e0 81[ ]*nop[ ]*esum p,vf00 + 7c: ff 02 00 00 + 80: ff ff ff 24[ ]*nop[ ]*fcand vi01,16777215 + 84: ff 02 00 00 + 88: ff ff ff 20[ ]*nop[ ]*fceq vi01,16777215 + 8c: ff 02 00 00 + 90: 00 00 03 38[ ]*nop[ ]*fcget vi03 + 94: ff 02 00 00 + 98: ff ff ff 26[ ]*nop[ ]*fcor vi01,16777215 + 9c: ff 02 00 00 + a0: ff ff ff 22[ ]*nop[ ]*fcset 16777215 + a4: ff 02 00 00 + a8: 00 20 03 34[ ]*nop[ ]*fmand vi03,vi04 + ac: ff 02 00 00 + b0: 00 20 03 30[ ]*nop[ ]*fmeq vi03,vi04 + b4: ff 02 00 00 + b8: 00 20 03 36[ ]*nop[ ]*fmor vi03,vi04 + bc: ff 02 00 00 + c0: ff 07 23 2c[ ]*nop[ ]*fsand vi03,4095 + c4: ff 02 00 00 + c8: ff 07 23 28[ ]*nop[ ]*fseq vi03,4095 + cc: ff 02 00 00 + d0: ff 07 23 2e[ ]*nop[ ]*fsor vi03,4095 + d4: ff 02 00 00 + d8: c0 07 20 2a[ ]*nop[ ]*fsset 4032 + dc: ff 02 00 00 + e0: 70 21 03 80[ ]*nop[ ]*iadd vi05,vi04,vi03 + e4: ff 02 00 00 + e8: f2 23 03 80[ ]*nop[ ]*iaddi vi03,vi04,15 + ec: ff 02 00 00 + f0: 32 24 03 80[ ]*nop[ ]*iaddi vi03,vi04,-16 + f4: ff 02 00 00 + f8: ff 27 e3 11[ ]*nop[ ]*iaddiu vi03,vi04,32767 + fc: ff 02 00 00 + 100: 74 21 03 80[ ]*nop[ ]*iand vi05,vi04,vi03 + 104: ff 02 00 00 + 108: ff 23 03 50[ ]*nop[ ]*ibeq vi03,vi04,2100 + 10c: ff 02 00 00 + 110: ff 23 00 5e[ ]*nop[ ]*ibgez vi04,2108 + 114: ff 02 00 00 + 118: ff 23 00 5a[ ]*nop[ ]*ibgtz vi04,2110 + 11c: ff 02 00 00 + 120: ff 23 00 5c[ ]*nop[ ]*iblez vi04,2118 + 124: ff 02 00 00 + 128: ff 23 00 5c[ ]*nop[ ]*iblez vi04,2120 + 12c: ff 02 00 00 + 130: ff 23 03 52[ ]*nop[ ]*ibne vi03,vi04,2128 + 134: ff 02 00 00 + 138: ff 23 23 08[ ]*nop[ ]*ilw.w vi03,1023(vi04). + 13c: ff 02 00 00 + 140: fe 23 23 80[ ]*nop[ ]**unknown* + 144: ff 02 00 00 + 148: 74 21 03 80[ ]*nop[ ]*ior vi05,vi04,vi03 + 14c: ff 02 00 00 + 150: 71 21 03 80[ ]*nop[ ]*isub vi05,vi04,vi03 + 154: ff 02 00 00 + 158: ff 27 e3 13[ ]*nop[ ]*isubiu vi03,vi04,32767 + 15c: ff 02 00 00 + 160: ff 23 23 0a[ ]*nop[ ]*isw.w vi03,1023(vi04). + 164: ff 02 00 00 + 168: ff 23 23 80[ ]*nop[ ]**unknown* + 16c: ff 02 00 00 + 170: 00 20 03 4a[ ]*nop[ ]*jalr vi03,vi04 + 174: ff 02 00 00 + 178: 00 20 00 48[ ]*nop[ ]*jr vi04 + 17c: ff 02 00 00 + 180: ff 23 c1 01[ ]*nop[ ]*lq.xyz vf01xyz,1023(vi04) + 184: ff 02 00 00 + 188: 7e 23 c1 81[ ]*nop[ ]*lqd.xyz vf01xyz,(--vi04) + 18c: ff 02 00 00 + 190: 7c 23 c1 81[ ]*nop[ ]*lqi.xyz vf01xyz,(vi04\+\+) + 194: ff 02 00 00 + 198: fc 23 01 81[ ]*nop[ ]*mfir.x vf01x,vi04 + 19c: ff 02 00 00 + 1a0: 7c 06 21 80[ ]*nop[ ]*mfp.w vf01w,p + 1a4: ff 02 00 00 + 1a8: 3c 03 c1 81[ ]*nop[ ]*move.xyz vf01xyz,vf00xyz + 1ac: ff 02 00 00 + 1b0: 3d 03 c1 81[ ]*nop[ ]*mr32.xyz vf01xyz,vf00xyz + 1b4: ff 02 00 00 + 1b8: fd 03 03 81[ ]*nop[ ]*mtir.x vi03,vf00x + 1bc: ff 02 00 00 + 1c0: 3d 04 c1 81[ ]*nop[ ]*rget.xyz vf01xyz,r + 1c4: ff 02 00 00 + 1c8: 3e 04 20 80[ ]*nop[ ]*rinit r,vf00y + 1cc: ff 02 00 00 + 1d0: 3c 04 c1 81[ ]*nop[ ]*rnext.xyz vf01xyz,r + 1d4: ff 02 00 00 + 1d8: be 03 21 81[ ]*nop[ ]*rsqrt q,vf00y,vf00x + 1dc: ff 02 00 00 + 1e0: 3f 04 20 80[ ]*nop[ ]*rxor r,vf00y + 1e4: ff 02 00 00 + 1e8: ff 1b c0 03[ ]*nop[ ]*sq.xyz vf00xyz,1023(vi03) + 1ec: ff 02 00 00 + 1f0: 7f 1b c0 81[ ]*nop[ ]*sqd.xyz vf00xyz,(--vi03) + 1f4: ff 02 00 00 + 1f8: 7d 1b c0 81[ ]*nop[ ]*sqi.xyz vf00xyz,(vi03\+\+) + 1fc: ff 02 00 00 + 200: bd 03 01 81[ ]*nop[ ]*sqrt q,vf00x + 204: ff 02 00 00 + 208: bf 07 00 80[ ]*nop[ ]*waitp + 20c: ff 02 00 00 + 210: bf 03 00 80[ ]*nop[ ]*waitq + 214: ff 02 00 00 + 218: fc 26 00 80[ ]*nop[ ]*xgkick vi04 + 21c: ff 02 00 00 + 220: bd 06 03 80[ ]*nop[ ]*xitop vi03 + 224: ff 02 00 00 + 228: bc 06 03 80[ ]*nop[ ]*xtop vi03 + 22c: ff 02 00 00 diff --git a/gas/testsuite/gas/txvu/lower-1.s b/gas/testsuite/gas/txvu/lower-1.s new file mode 100644 index 00000000000..429feeafb46 --- /dev/null +++ b/gas/testsuite/gas/txvu/lower-1.s @@ -0,0 +1,72 @@ +; Each lower instruction, once each. +foo: +NOP B 0x3ff +NOP BAL VI03, 0x3ff +NOP DIV Q, VF00y, VF01z +NOP EATAN P, VF00y +NOP EATANxy P, VF00 +NOP EATANxz P, VF00 +NOP EEXP P, VF00y +NOP ELENG P, VF00 +NOP ERCPR P, VF00y +NOP ERLENG P, VF00 +NOP ERSADD P, VF00 +NOP ERSQRT P, VF00y +NOP ESADD P, VF00 +NOP ESIN P, VF00y +NOP ESQRT P, VF00y +NOP ESUM P, VF00 +NOP FCAND VI01, 0xffffff +NOP FCEQ VI01, 0xffffff +NOP FCGET VI03 +NOP FCOR VI01, 0xffffff +NOP FCSET 0xffffff +NOP FMAND VI03, VI04 +NOP FMEQ VI03, VI04 +NOP FMOR VI03, VI04 +NOP FSAND VI03, 0xfff +NOP FSEQ VI03, 0xfff +NOP FSOR VI03, 0xfff +NOP FSSET 0xfff +NOP IADD VI05, VI04, VI03 +NOP IADDI VI03, VI04, 15 +NOP IADDI VI03, VI04, -16 +NOP IADDIU VI03, VI04, 0x7fff +NOP IAND VI05, VI04, VI03 +NOP IBEQ VI03, VI04, 0x3ff +NOP IBGEZ VI04, 0x3ff +NOP IBGTZ VI04, 0x3ff +NOP IBLEZ VI04, 0x3ff +NOP IBLEZ VI04, 0x3ff +NOP IBNE VI03, VI04, 0x3ff +NOP ILW.w VI03, 0x3ff(VI04)w +NOP ILWR.w VI03, (VI04)w +NOP IOR VI05, VI04, VI03 +NOP ISUB VI05, VI04, VI03 +NOP ISUBIU VI03, VI04, 0x7fff +NOP ISW.w VI03, 0x3ff(VI04)w +NOP ISWR.w VI03, (VI04)w +NOP JALR VI03, VI04 +NOP JR VI04 +NOP LQ.xyz VF01xyz, 0x3ff(VI04) +NOP LQD.xyz VF01xyz, (--VI04) +NOP LQI.xyz VF01xyz, (VI04++) +NOP MFIR.x VF01x, VI04 +NOP MFP.w VF01w, P +NOP MOVE.xyz VF01xyz, VF00xyz +NOP MR32.xyz VF01xyz, VF00xyz +NOP MTIR.x VI03, VF00x +NOP RGET.xyz VF01xyz, R +NOP RINIT R, VF00y +NOP RNEXT.xyz VF01xyz, R +NOP RSQRT Q, VF00y, VF01z +NOP RXOR R, VF00y +NOP SQ.xyz VF00xyz, 0x3ff(VI03) +NOP SQD.xyz VF00xyz, (--VI03) +NOP SQI.xyz VF00xyz, (VI03++) +NOP SQRT Q, VF01z +NOP WAITP +NOP WAITQ +NOP XGKICK VI04 +NOP XITOP VI03 +NOP XTOP VI03 diff --git a/gas/testsuite/gas/txvu/txvu.exp b/gas/testsuite/gas/txvu/txvu.exp index 7ef5350a3bf..38dc3ef1958 100644 --- a/gas/testsuite/gas/txvu/txvu.exp +++ b/gas/testsuite/gas/txvu/txvu.exp @@ -4,4 +4,5 @@ if [istarget txvu-*-*] { run_dump_test "basic-1" run_dump_test "br-1" run_dump_test "upper-1" + run_dump_test "lower-1" } -- 2.30.2