diff for duplicates of <56EBD072.6000301@redhat.com> diff --git a/a/1.txt b/N1/1.txt index bd4b8e3..45aecb7 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -39,7 +39,7 @@ On 16.03.2016 16:13, Laurent Vivier wrote: > report_prefix_push("invalid"); > @@ -62,6 +75,8 @@ static void test_64bit(void) > * - RT <= RA or RB < RT + (n + 4) is invalid or result is undefined -> * - RT = RA = 0 is invalid +> * - RT == RA == 0 is invalid > * > + * For lswx in little-endian mode, an alignment interrupt always occurs. > + * @@ -58,11 +58,11 @@ On 16.03.2016 16:13, Laurent Vivier wrote: > */ > "xer", "r11", "r12"); > -> +#if __BYTE_ORDER__ = __ORDER_LITTLE_ENDIAN__ +> +#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ > + report("alignment", alignment); > + return; > +#else -> report("partial", regs[0] = 0x01020300 && regs[1] = (uint64_t)-1); +> report("partial", regs[0] == 0x01020300 && regs[1] == (uint64_t)-1); > +#endif > > /* check an old know bug: the number of bytes is used as diff --git a/a/content_digest b/N1/content_digest index 379051d..12e2ffe 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01458141183-27207-6-git-send-email-lvivier@redhat.com\0" "From\0Thomas Huth <thuth@redhat.com>\0" "Subject\0Re: [kvm-unit-tests PATCH 5/5] powerpc: Check lswx in little-endian mode.\0" - "Date\0Fri, 18 Mar 2016 09:54:58 +0000\0" + "Date\0Fri, 18 Mar 2016 10:54:58 +0100\0" "To\0Laurent Vivier <lvivier@redhat.com>" kvm@vger.kernel.org " kvm-ppc@vger.kernel.org\0" @@ -52,7 +52,7 @@ "> \treport_prefix_push(\"invalid\");\n" "> @@ -62,6 +75,8 @@ static void test_64bit(void)\n" "> * - RT <= RA or RB < RT + (n + 4) is invalid or result is undefined\n" - "> * - RT = RA = 0 is invalid\n" + "> * - RT == RA == 0 is invalid\n" "> *\n" "> + * For lswx in little-endian mode, an alignment interrupt always occurs.\n" "> + *\n" @@ -71,11 +71,11 @@ "> \t\t */\n" "> \t\t \"xer\", \"r11\", \"r12\");\n" "> \n" - "> +#if __BYTE_ORDER__ = __ORDER_LITTLE_ENDIAN__\n" + "> +#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__\n" "> +\treport(\"alignment\", alignment);\n" "> +\treturn;\n" "> +#else\n" - "> \treport(\"partial\", regs[0] = 0x01020300 && regs[1] = (uint64_t)-1);\n" + "> \treport(\"partial\", regs[0] == 0x01020300 && regs[1] == (uint64_t)-1);\n" "> +#endif\n" "> \n" "> \t/* check an old know bug: the number of bytes is used as\n" @@ -91,4 +91,4 @@ "\n" Reviewed-by: Thomas Huth <thuth@redhat.com> -825ded6c24454d3d2357ca2a253a49fa7d1e30b57aeb0613a684d7448d61c058 +fc7d44b6bca94d3aa750b539d963f77dbbdee5a530fa7fe54adefeb08926864f
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.