From: Julian Seward Date: Wed, 4 Jun 2014 21:55:16 +0000 (+0000) Subject: Fix out-of-range constants for some 32 bit insns, presumably tolerated X-Git-Tag: svn/VALGRIND_3_10_0~440 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db7b04599f4ea966f341cb1f2c6f88a3dce51d9a;p=thirdparty%2Fvalgrind.git Fix out-of-range constants for some 32 bit insns, presumably tolerated by older assembler versions but not newer ones. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13996 --- diff --git a/none/tests/arm64/integer.c b/none/tests/arm64/integer.c index f7987283a3..4b0265c6ff 100644 --- a/none/tests/arm64/integer.c +++ b/none/tests/arm64/integer.c @@ -576,8 +576,8 @@ TESTINST2("ands x3,x4, #0x8080808080808080", 0x7070707070707070, x3, x4, 0); TESTINST2("ands x3,x4, #0x8080808080808080", 0xF070707070707070, x3, x4, 0); TESTINST2("and w3,w4, #0xF", ALL5s, x3, x4, 0); -TESTINST2("and w3,w4, #0x8080808080808080", 0x843fdf810277796e, x3, x4, 0); -TESTINST2("and w3,w4, #0xC0C0C0C0C0C0C0C0", 0xc5446fe48c610b28, x3, x4, 0); +TESTINST2("and w3,w4, #0x80808080", 0x843fdf810277796e, x3, x4, 0); +TESTINST2("and w3,w4, #0xC0C0C0C0", 0xc5446fe48c610b28, x3, x4, 0); TESTINST2("ands w3,w4, #0x80808080", 0x843fdf810277796e, x3, x4, 0); TESTINST2("ands w3,w4, #0xC0C0C0C0", 0xc5446fe48c610b28, x3, x4, 0); TESTINST2("ands w3,w4, #0x80808080", 0x143fdf810277796e, x3, x4, 0); @@ -592,8 +592,8 @@ TESTINST2("orr x3,x4, #0x8080808080808080", 0x843fdf810277796e, x3, x4, 0); TESTINST2("orr x3,x4, #0xC0C0C0C0C0C0C0C0", 0xc5446fe48c610b28, x3, x4, 0); TESTINST2("orr w3,w4, #0xF", ALL5s, x3, x4, 0); -TESTINST2("orr w3,w4, #0x8080808080808080", 0x843fdf810277796e, x3, x4, 0); -TESTINST2("orr w3,w4, #0xC0C0C0C0C0C0C0C0", 0xc5446fe48c610b28, x3, x4, 0); +TESTINST2("orr w3,w4, #0x80808080", 0x843fdf810277796e, x3, x4, 0); +TESTINST2("orr w3,w4, #0xC0C0C0C0", 0xc5446fe48c610b28, x3, x4, 0); //////////////////////////////////////////////////////////////// printf("EOR(imm)\n"); @@ -602,8 +602,8 @@ TESTINST2("eor x3,x4, #0x8080808080808080", 0x843fdf810277796e, x3, x4, 0); TESTINST2("eor x3,x4, #0xC0C0C0C0C0C0C0C0", 0xc5446fe48c610b28, x3, x4, 0); TESTINST2("eor w3,w4, #0xF", ALL5s, x3, x4, 0); -TESTINST2("eor w3,w4, #0x8080808080808080", 0x843fdf810277796e, x3, x4, 0); -TESTINST2("eor w3,w4, #0xC0C0C0C0C0C0C0C0", 0xc5446fe48c610b28, x3, x4, 0); +TESTINST2("eor w3,w4, #0x80808080", 0x843fdf810277796e, x3, x4, 0); +TESTINST2("eor w3,w4, #0xC0C0C0C0", 0xc5446fe48c610b28, x3, x4, 0); //////////////////////////////////////////////////////////////// printf("MOVZ\n");