From 30b7ec5838da9a05ff6b175006f1dbdb99a770a1 Mon Sep 17 00:00:00 2001 From: Chao-ying Fu Date: Tue, 6 Jan 2009 19:24:28 +0000 Subject: 2009-01-06 Chao-ying Fu * gas/mips/jalr.s, gas/mips/jalr.l: Add more tests for jalr and jalr.hb. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/mips/jalr.l | 5 ++++- gas/testsuite/gas/mips/jalr.s | 12 ++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) (limited to 'gas') diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 89e9047..99312eb 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-01-06 Chao-ying Fu + + * gas/mips/jalr.s, gas/mips/jalr.l: Add more tests for jalr + and jalr.hb. + 2009-01-06 H.J. Lu AVX Programming Reference (December, 2008) diff --git a/gas/testsuite/gas/mips/jalr.l b/gas/testsuite/gas/mips/jalr.l index fe4a5b9..787bc9c 100644 --- a/gas/testsuite/gas/mips/jalr.l +++ b/gas/testsuite/gas/mips/jalr.l @@ -1,5 +1,8 @@ .*: Assembler messages: .*:1: Error: illegal operands.* .*:2: Error: a destination register must be supplied.* -.*:3: Error: source and destinationations must be different.* +.*:3: Error: source and destination must be different.* +.*:10: Error: illegal operands.* +.*:11: Error: a destination register must be supplied.* +.*:12: Error: source and destination must be different.* diff --git a/gas/testsuite/gas/mips/jalr.s b/gas/testsuite/gas/mips/jalr.s index fa63e43..9f66790 100644 --- a/gas/testsuite/gas/mips/jalr.s +++ b/gas/testsuite/gas/mips/jalr.s @@ -2,3 +2,15 @@ jalr $31 jalr $7, $7 jalr $31, $2 + jalr $0 + jalr $0, $31 + jalr $31, $0 + + .set mips32 + jalr.hb $32 + jalr.hb $31 + jalr.hb $7, $7 + jalr.hb $31, $2 + jalr.hb $0 + jalr.hb $0, $31 + jalr.hb $31, $0 -- cgit v1.1