diff for duplicates of <57176BE6.1090701@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 3de0171..6871834 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,11 +18,11 @@ On 20.04.2016 13:40, Laurent Vivier wrote: > @@ -245,11 +245,18 @@ static void test_lswx(void) > "xer", "r11", "r12", "memory"); > -> #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); > + /* > + * lswx is supposed to cause an alignment exception in little endian > + * mode, but QEMU does not support it. So in case we do not get an @@ -34,7 +34,7 @@ On 20.04.2016 13:40, Laurent Vivier wrote: > + return; > + } > #endif -> + report("partial", regs[0] = 0x01020300 && regs[1] = (uint64_t)-1); +> + report("partial", regs[0] == 0x01020300 && regs[1] == (uint64_t)-1); > > /* check an old know bug: the number of bytes is used as > * the number of registers, so try 32 bytes. diff --git a/a/content_digest b/N1/content_digest index 50ea1a8..228e4df 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01461152447-11381-1-git-send-email-lvivier@redhat.com\0" "From\0Thomas Huth <thuth@redhat.com>\0" "Subject\0Re: [kvm-unit-tests PATCH v2] powerpc: don't fail if QEMU does not support alignment exception\0" - "Date\0Wed, 20 Apr 2016 11:45:42 +0000\0" + "Date\0Wed, 20 Apr 2016 13:45:42 +0200\0" "To\0Laurent Vivier <lvivier@redhat.com>" kvm@vger.kernel.org " kvm-ppc@vger.kernel.org\0" @@ -30,11 +30,11 @@ "> @@ -245,11 +245,18 @@ static void test_lswx(void)\n" "> \t\t \"xer\", \"r11\", \"r12\", \"memory\");\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" "> +\t/*\n" "> +\t * lswx is supposed to cause an alignment exception in little endian\n" "> +\t * mode, but QEMU does not support it. So in case we do not get an\n" @@ -46,7 +46,7 @@ "> +\t\treturn;\n" "> +\t}\n" "> #endif\n" - "> +\treport(\"partial\", regs[0] = 0x01020300 && regs[1] = (uint64_t)-1);\n" + "> +\treport(\"partial\", regs[0] == 0x01020300 && regs[1] == (uint64_t)-1);\n" "> \n" "> \t/* check an old know bug: the number of bytes is used as\n" "> \t * the number of registers, so try 32 bytes.\n" @@ -56,4 +56,4 @@ "\n" Reviewed-by: Thomas Huth <thuth@redhat.com> -8073eb9d03731ec99a35af333013aa03985ffe9bae8921de47fab271dd596aab +2a6dab4c039c496dbc46fa0d9a7c588259f3d4a7b3071b66d281fc8ec096623a
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.