All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <57174AB9.2090900@redhat.com>

diff --git a/a/1.txt b/N1/1.txt
index 7125073..dcafdec 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -53,7 +53,7 @@ On 19.04.2016 14:51, Laurent Vivier wrote:
 >> +		      :
 >> +		      "r11", "r12", "memory");
 >> +
->> +#if  __BYTE_ORDER__ = __ORDER_LITTLE_ENDIAN__
+>> +#if  __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
 >> +	/*
 >> +	 * lswi 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
@@ -65,9 +65,9 @@ On 19.04.2016 14:51, 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 NB = 0 => 32 bytes. */
+>> +	/* check NB = 0 ==> 32 bytes. */
 >> +	asm volatile ("li r19,-1;"
 >> +		      "mr r11, r19; mr r12, r19; mr r13, r19;"
 >> +		      "mr r14, r19; mr r15, r19; mr r16, r19;"
@@ -95,11 +95,11 @@ On 19.04.2016 14:51, Laurent Vivier wrote:
 >> +		      "r11", "r12", "r13", "r14", "r15", "r16", "r17",
 >> +		      "r18", "r19", "memory");
 >> +
->> +	report("length", regs[0] = 0x01020304 && regs[1] = 0x05060708 &&
->> +			 regs[2] = 0x090a0b0c && regs[3] = 0x0d0e0f10 &&
->> +			 regs[4] = 0x11121314 && regs[5] = 0x15161718 &&
->> +			 regs[6] = 0x191a1b1c && regs[7] = 0x1d1e1f20 &&
->> +			 regs[8] = (uint64_t)-1);
+>> +	report("length", regs[0] == 0x01020304 && regs[1] == 0x05060708 &&
+>> +			 regs[2] == 0x090a0b0c && regs[3] == 0x0d0e0f10 &&
+>> +			 regs[4] == 0x11121314 && regs[5] == 0x15161718 &&
+>> +			 regs[6] == 0x191a1b1c && regs[7] == 0x1d1e1f20 &&
+>> +			 regs[8] == (uint64_t)-1);
 >> +
 >> +	/* check wrap around to r0 */
 >> +	asm volatile ("li r31,-1;"
@@ -115,8 +115,8 @@ On 19.04.2016 14:51, Laurent Vivier wrote:
 >> +		      /* modify two registers from r31, wrap around to r0 */
 >> +		      "r31", "r0", "memory");
 >> +
->> +	report("wrap around to r0", regs[0] = 0x01020304 &&
->> +			            regs[1] = 0x05060708);
+>> +	report("wrap around to r0", regs[0] == 0x01020304 &&
+>> +			            regs[1] == 0x05060708);
 >> +
 >> +	/* check wrap around doesn't break RA */
 >> +	asm volatile ("mr r29,r1\n"
diff --git a/a/content_digest b/N1/content_digest
index 12d0534..ad2a052 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\0571629BC.6000605@redhat.com\0"
  "From\0Thomas Huth <thuth@redhat.com>\0"
  "Subject\0Re: [kvm-unit-test PATCH v2] powerpc: Add emulator test for the lswi instruction\0"
- "Date\0Wed, 20 Apr 2016 09:24:09 +0000\0"
+ "Date\0Wed, 20 Apr 2016 11:24:09 +0200\0"
  "To\0Laurent Vivier <lvivier@redhat.com>"
   kvm@vger.kernel.org
  " pbonzini@redhat.com\0"
@@ -65,7 +65,7 @@
  ">> +\t\t      :\n"
  ">> +\t\t      \"r11\", \"r12\", \"memory\");\n"
  ">> +\n"
- ">> +#if  __BYTE_ORDER__ = __ORDER_LITTLE_ENDIAN__\n"
+ ">> +#if  __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__\n"
  ">> +\t/*\n"
  ">> +\t * lswi 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"
@@ -77,9 +77,9 @@
  ">> +\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 NB = 0 => 32 bytes. */\n"
+ ">> +\t/* check NB = 0 ==> 32 bytes. */\n"
  ">> +\tasm volatile (\"li r19,-1;\"\n"
  ">> +\t\t      \"mr r11, r19; mr r12, r19; mr r13, r19;\"\n"
  ">> +\t\t      \"mr r14, r19; mr r15, r19; mr r16, r19;\"\n"
@@ -107,11 +107,11 @@
  ">> +\t\t      \"r11\", \"r12\", \"r13\", \"r14\", \"r15\", \"r16\", \"r17\",\n"
  ">> +\t\t      \"r18\", \"r19\", \"memory\");\n"
  ">> +\n"
- ">> +\treport(\"length\", regs[0] = 0x01020304 && regs[1] = 0x05060708 &&\n"
- ">> +\t\t\t regs[2] = 0x090a0b0c && regs[3] = 0x0d0e0f10 &&\n"
- ">> +\t\t\t regs[4] = 0x11121314 && regs[5] = 0x15161718 &&\n"
- ">> +\t\t\t regs[6] = 0x191a1b1c && regs[7] = 0x1d1e1f20 &&\n"
- ">> +\t\t\t regs[8] = (uint64_t)-1);\n"
+ ">> +\treport(\"length\", regs[0] == 0x01020304 && regs[1] == 0x05060708 &&\n"
+ ">> +\t\t\t regs[2] == 0x090a0b0c && regs[3] == 0x0d0e0f10 &&\n"
+ ">> +\t\t\t regs[4] == 0x11121314 && regs[5] == 0x15161718 &&\n"
+ ">> +\t\t\t regs[6] == 0x191a1b1c && regs[7] == 0x1d1e1f20 &&\n"
+ ">> +\t\t\t regs[8] == (uint64_t)-1);\n"
  ">> +\n"
  ">> +\t/* check wrap around to r0 */\n"
  ">> +\tasm volatile (\"li r31,-1;\"\n"
@@ -127,8 +127,8 @@
  ">> +\t\t      /* modify two registers from r31, wrap around to r0 */\n"
  ">> +\t\t      \"r31\", \"r0\", \"memory\");\n"
  ">> +\n"
- ">> +\treport(\"wrap around to r0\", regs[0] = 0x01020304 &&\n"
- ">> +\t\t\t            regs[1] = 0x05060708);\n"
+ ">> +\treport(\"wrap around to r0\", regs[0] == 0x01020304 &&\n"
+ ">> +\t\t\t            regs[1] == 0x05060708);\n"
  ">> +\n"
  ">> +\t/* check wrap around doesn't break RA */\n"
  ">> +\tasm volatile (\"mr r29,r1\\n\"\n"
@@ -148,4 +148,4 @@
  "\n"
   Thomas
 
-620897693b8a8213ffe01bea3917d09e40fd5e9d1d5caa36c1a802d0af4b9c9c
+e2a5dd70df9104185cdcef83111e8b111f6e8e7f7a053276ed2ffe37a417fb9b

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.