* [PATCH] more testcases for extension registers and condition codes ARC backend.
@ 2005-03-01 18:30 Ramana Radhakrishnan
2005-03-03 9:48 ` Nick Clifton
0 siblings, 1 reply; 3+ messages in thread
From: Ramana Radhakrishnan @ 2005-03-01 18:30 UTC (permalink / raw)
To: binutils; +Cc: nickc
[-- Attachment #1: Type: text/plain, Size: 297 bytes --]
Hi ,
This is an improvement on the patch earlier submitted today w.r.t
extension instructions support in the ARC backend.This also takes care of
tests for a few more warnings in the ARC backend and testing for them .
Ok to commit ?
cheers
Ramana
----
Ramana Radhakrishnan
Codito Technologies
[-- Attachment #2: arc-extensions-test-patches --]
[-- Type: application/octet-stream, Size: 2456 bytes --]
Index: gas/testsuite/gas/arc/arc.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arc/arc.exp,v
retrieving revision 1.2
diff -a -u -r1.2 arc.exp
--- gas/testsuite/gas/arc/arc.exp 11 Jan 2001 21:20:18 -0000 1.2
+++ gas/testsuite/gas/arc/arc.exp 1 Mar 2005 18:17:55 -0000
@@ -37,6 +37,7 @@
run_dump_test bic
run_dump_test xor
run_dump_test nop
+ run_dump_test extensions
}
# ARC library extensions
Index: gas/testsuite/gas/arc/extensions.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arc/extensions.d,v
retrieving revision 1.1
diff -a -u -r1.1 extensions.d
--- gas/testsuite/gas/arc/extensions.d 1 Mar 2005 15:05:27 -0000 1.1
+++ gas/testsuite/gas/arc/extensions.d 1 Mar 2005 18:17:55 -0000
@@ -7,3 +7,6 @@
00000000 <condcodeTest>:
0: 12 02 00 40 40000212 add.isbusy r0,r0,r1
+ 4: 00 02 60 45 45600200 add rwscreg,r0,r1
+ 8: 00 d8 00 40 4000d800 add r0,r1,roscreg
+ c: 00 02 a0 45 45a00200 add woscreg,r0,r1
\ No newline at end of file
Index: gas/testsuite/gas/arc/extensions.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arc/extensions.s,v
retrieving revision 1.1
diff -a -u -r1.1 extensions.s
--- gas/testsuite/gas/arc/extensions.s 1 Mar 2005 15:05:27 -0000 1.1
+++ gas/testsuite/gas/arc/extensions.s 1 Mar 2005 18:17:55 -0000
@@ -1,4 +1,10 @@
.extCondCode isbusy, 0x12
+.extCoreRegister rwscreg,43,r|w,can_shortcut
+.extCoreRegister roscreg,44,r,can_shortcut
+.extCoreRegister woscreg,45,w,can_shortcut
.section .text
condcodeTest:
add.isbusy r0,r0,r1
+ add rwscreg,r0,r1
+ add r0,r1,roscreg
+ add woscreg,r0,r1
Index: gas/testsuite/gas/arc/warn.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/arc/warn.s,v
retrieving revision 1.2
diff -a -u -r1.2 warn.s
--- gas/testsuite/gas/arc/warn.s 11 Jan 2001 21:20:18 -0000 1.2
+++ gas/testsuite/gas/arc/warn.s 1 Mar 2005 18:17:56 -0000
@@ -9,3 +9,8 @@
mov r0,r1
foo:
+.extCoreRegister roscreg,45,r,can_shortcut
+.extCoreRegister woscreg,46,w,can_shortcut
+ .section .text
+ add r0,woscreg,r1 ; { dg-warning "Error: attempt to read writeonly register" }
+ add roscreg,r1,r2 ; { dg-warning "Error: attempt to set readonly register" }
[-- Attachment #3: chglg --]
[-- Type: application/octet-stream, Size: 267 bytes --]
2005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
* testsuite/gas/arc/extensions.s: Add tests for extcoreregister
* testsuite/gas/arc/warn.s: Warnings for readonly core registers
accessed .
* testsuite/gas/arc/arc.exp:Run extensions testcase.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] more testcases for extension registers and condition codes ARC backend.
2005-03-01 18:30 [PATCH] more testcases for extension registers and condition codes ARC backend Ramana Radhakrishnan
@ 2005-03-03 9:48 ` Nick Clifton
2005-03-03 12:14 ` Ramana Radhakrishnan
0 siblings, 1 reply; 3+ messages in thread
From: Nick Clifton @ 2005-03-03 9:48 UTC (permalink / raw)
To: ramana.radhakrishnan; +Cc: binutils
Hi Ramana,
> This is an improvement on the patch earlier submitted today w.r.t
> extension instructions support in the ARC backend.This also takes care of
> tests for a few more warnings in the ARC backend and testing for them .
>
> Ok to commit ?
Approved - please apply - but...please put the ChangeLog entry into the
file in the gas/testsuite directory rather than the gas/ directory.
Cheers
Nick
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] more testcases for extension registers and condition codes ARC backend.
2005-03-03 9:48 ` Nick Clifton
@ 2005-03-03 12:14 ` Ramana Radhakrishnan
0 siblings, 0 replies; 3+ messages in thread
From: Ramana Radhakrishnan @ 2005-03-03 12:14 UTC (permalink / raw)
To: Nick Clifton; +Cc: binutils
<snip>
> Approved - please apply - but...please put the ChangeLog entry into the
> file in the gas/testsuite directory rather than the gas/ directory.
Thanks! Done.
cheers
Ramana
--
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-03 12:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-01 18:30 [PATCH] more testcases for extension registers and condition codes ARC backend Ramana Radhakrishnan
2005-03-03 9:48 ` Nick Clifton
2005-03-03 12:14 ` Ramana Radhakrishnan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).