diff mbox series

[RFC,11/13] tests/tcg/cris: comment out the ccs test

Message ID 20181210152829.29271-12-alex.bennee@linaro.org
State Superseded
Headers show
Series Enabling tcg/tests for xtensa, mips and cris | expand

Commit Message

Alex Bennée Dec. 10, 2018, 3:28 p.m. UTC
Evidently upstream gcc doesn't like this opcode.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 tests/tcg/cris/system/check_btst.s | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

-- 
2.17.1

Comments

Edgar E. Iglesias Jan. 4, 2019, 2 p.m. UTC | #1
On Mon, Dec 10, 2018 at 03:28:27PM +0000, Alex Bennée wrote:
> Evidently upstream gcc doesn't like this opcode.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>



Hi Alex, this is probably an example of missmatching CRISv10 vs CRISv32 versions in toolchain usage.

Cheers,
Edgar


> ---

>  tests/tcg/cris/system/check_btst.s | 14 +++++++-------

>  1 file changed, 7 insertions(+), 7 deletions(-)

> 

> diff --git a/tests/tcg/cris/system/check_btst.s b/tests/tcg/cris/system/check_btst.s

> index e39fc8f4d6..485deb2006 100644

> --- a/tests/tcg/cris/system/check_btst.s

> +++ b/tests/tcg/cris/system/check_btst.s

> @@ -85,12 +85,12 @@

>   checkr3 1111

>  

>   ; check that X gets cleared and that only the NZ flags are touched.

> - move.d	0xff, $r0

> - move $r0, $ccs

> - btst r3,r3

> - move $ccs, $r0

> - and.d 0xff, $r0

> - cmp.d	0xe3, $r0

> - test_cc 0 1 0 0

> + ;; move.d	0xff, $r0

> + ;; move $r0, $ccs

> + ;; btst r3,r3

> + ;; move $ccs, $r0

> + ;; and.d 0xff, $r0

> + ;; cmp.d	0xe3, $r0

> + ;; test_cc 0 1 0 0

>  

>   quit

> -- 

> 2.17.1

>
diff mbox series

Patch

diff --git a/tests/tcg/cris/system/check_btst.s b/tests/tcg/cris/system/check_btst.s
index e39fc8f4d6..485deb2006 100644
--- a/tests/tcg/cris/system/check_btst.s
+++ b/tests/tcg/cris/system/check_btst.s
@@ -85,12 +85,12 @@ 
  checkr3 1111
 
  ; check that X gets cleared and that only the NZ flags are touched.
- move.d	0xff, $r0
- move $r0, $ccs
- btst r3,r3
- move $ccs, $r0
- and.d 0xff, $r0
- cmp.d	0xe3, $r0
- test_cc 0 1 0 0
+ ;; move.d	0xff, $r0
+ ;; move $r0, $ccs
+ ;; btst r3,r3
+ ;; move $ccs, $r0
+ ;; and.d 0xff, $r0
+ ;; cmp.d	0xe3, $r0
+ ;; test_cc 0 1 0 0
 
  quit