Commit ba4905b4 by H.J. Lu Committed by H.J. Lu

re PR testsuite/39451 (Invalid x86 constraint in gcc.dg/asm-b.c)

2009-03-13  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/39451
	* gcc.dg/asm-b.c: Use "Q" constraint on %b1/%h1 and "R"
	constraint on (%2).

From-SVN: r144834
parent 8f667838
2009-03-13 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/39451
* gcc.dg/asm-b.c: Use "Q" constraint on %b1/%h1 and "R"
constraint on (%2).
2009-03-12 David Ayers <ayers@fsfe.org>
PR libobjc/27466
......
......@@ -24,8 +24,8 @@ bar (void)
#if defined (__powerpc__) || defined (__PPC__) || defined (__ppc__) || defined (_POWER) || defined (__ppc64__)
__asm __volatile ("sthbrx %1,0,%2" : "=m" (*z) : "r" (y), "r" (z));
#elif defined __i386__ || defined __x86_64__
__asm __volatile ("movb %b1,1(%2); movb %h1,(%2)" : "=m" (*z) : "r" (y), "r"
(z));
__asm __volatile ("movb %b1,1(%2)\n\tmovb %h1,(%2)"
: "=m" (*z) : "Q" (y), "R" (z));
#endif
return (x & 1) == 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment