From 97a010ff42d4d18bf54b8d0c6179ed90982b39de Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 24 Oct 1995 17:00:11 +0000 Subject: * gas/hppa/basic/basic.exp: Test lci and syncdma instructions. * gas/hppa/basic/system.s: Corresponding changes. --- gas/testsuite/ChangeLog | 13 ++++++++++ gas/testsuite/gas/hppa/basic/system.s | 46 +++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100755 gas/testsuite/gas/hppa/basic/system.s (limited to 'gas') diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index c886787..f3a78ba 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,16 @@ +Tue Oct 24 10:57:20 1995 Jeffrey A Law (law@cygnus.com) + + * gas/hppa/basic/basic.exp: Test lci and syncdma instructions. + * gas/hppa/basic/system.s: Corresponding changes. + +Fri Oct 6 17:13:35 1995 Ken Raeburn + + * gas/m68k/operands.d: Don't require a fixed number of leading + zeros in any number. + + * gas/m68k/operands.s, gas/m68k/bitfield.s: Use "&" instead of "#" + for immediate values. + Fri Oct 6 10:54:13 1995 Doug Evans * gas/arm/arm.exp: Renamed from gas.exp. diff --git a/gas/testsuite/gas/hppa/basic/system.s b/gas/testsuite/gas/hppa/basic/system.s new file mode 100755 index 0000000..d35e001 --- /dev/null +++ b/gas/testsuite/gas/hppa/basic/system.s @@ -0,0 +1,46 @@ + .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 + + .SPACE $TEXT$ + .SUBSPA $CODE$ + + .align 4 +; Basic immediate instruction tests. +; +; We could/should test some of the corner cases for register and +; immediate fields. We should also check the assorted field +; selectors to make sure they're handled correctly. + break 5,12 + rfi + rfir + ssm 5,%r4 + rsm 5,%r4 + mtsm %r4 + ldsid (%sr0,%r5),%r4 + mtsp %r4,%sr0 + mtctl %r4,%cr10 + mfsp %sr0,%r4 + mfctl %cr10,%r4 + sync + syncdma + diag 1234 + + prober (%sr0,%r5),%r6,%r7 + proberi (%sr0,%r5),1,%r7 + probew (%sr0,%r5),%r6,%r7 + probewi (%sr0,%r5),1,%r7 + + lpa %r4(%sr0,%r5),%r6 + lpa,m %r4(%sr0,%r5),%r6 + lha %r4(%sr0,%r5),%r6 + lha,m %r4(%sr0,%r5),%r6 + lci %r4(%sr0,%r5),%r6 + + idtlba %r4,(%sr0,%r5) + iitlba %r4,(%sr0,%r5) + idtlbp %r4,(%sr0,%r5) + iitlbp %r4,(%sr0,%r5) -- cgit v1.1