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