From 79b41c05a4f75bdd7c196bdc754ecb11c9f97bf2 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Wed, 6 Jan 1999 12:47:21 +0000 Subject: [PATCH] * Test for PR 18665, from sky branch. 1999-01-06 Frank Ch. Eigler * gas/mips/r5900.[sd]: Add tests for multu1/div1/divu1 insns. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/mips/r5900.d | 8 +++++++- gas/testsuite/gas/mips/r5900.s | 6 ++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9bcf9470ba4..9f965bf5150 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +start-sanitize-r5900 +1999-01-06 Frank Ch. Eigler + + * gas/mips/r5900.[sd]: Add tests for multu1/div1/divu1 insns. + +end-sanitize-r5900 1998-12-18 Nick Clifton * gas/fr30/allinsn.s: Fix to match latest assembler syntax. diff --git a/gas/testsuite/gas/mips/r5900.d b/gas/testsuite/gas/mips/r5900.d index f63c5a61bf7..e8a412e6627 100644 --- a/gas/testsuite/gas/mips/r5900.d +++ b/gas/testsuite/gas/mips/r5900.d @@ -35,4 +35,10 @@ Disassembly of section \.text: 0+0068 min.s \$f10,\$f12,\$f14 0+006c mult1 \$v1,\$a0,\$zero 0+0070 mult1 \$a0,\$v1 -0+0074 nop +0+0074 multu1 \$v1,\$a0,\$zero +0+0078 multu1 \$a0,\$v1 +0+007c div1 \$zero,\$v1,\$a0 +0+0080 div1 \$zero,\$a0,\$v1 +0+0084 divu1 \$zero,\$v1,\$a0 +0+0088 divu1 \$zero,\$a0,\$v1 +0+008c nop diff --git a/gas/testsuite/gas/mips/r5900.s b/gas/testsuite/gas/mips/r5900.s index c89e7c1be28..345ea14174a 100644 --- a/gas/testsuite/gas/mips/r5900.s +++ b/gas/testsuite/gas/mips/r5900.s @@ -34,5 +34,11 @@ stuff: mult1 $3,$4,$0 mult1 $4,$3 + multu1 $3,$4,$0 + multu1 $4,$3 + div1 $0,$3,$4 + div1 $4,$3 + divu1 $0,$3,$4 + divu1 $4,$3 # Nop just to fill out ot a 16byte boundary nop -- 2.11.4.GIT