]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix out-of-range constants for some 32 bit insns, presumably tolerated
authorJulian Seward <jseward@acm.org>
Wed, 4 Jun 2014 21:55:16 +0000 (21:55 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 4 Jun 2014 21:55:16 +0000 (21:55 +0000)
by older assembler versions but not newer ones.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13996

none/tests/arm64/integer.c

index f7987283a3e463f86a6aea90480ce2240bb10877..4b0265c6ff300fa0161f84edbd6b823fd6c99433 100644 (file)
@@ -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");