Bug 38402

Summary: Undocumented Yz constraint
Product: gcc Reporter: H.J. Lu <hjl.tools>
Component: targetAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: gcc-bugs, joey.ye, ubizjak, xuepeng.guo
Priority: P3 Keywords: documentation
Version: 4.4.0   
Target Milestone: 4.3.3   
Host: Target: x86-gnu-linux
Build: Known to work:
Known to fail: Last reconfirmed:

Description H.J. Lu 2008-12-04 14:54:27 UTC
x86 has

;; We use the Y prefix to denote any number of conditional register sets:
;;  z   First SSE register.
;;  2   SSE2 enabled
;;  i   SSE2 inter-unit moves enabled
;;  m   MMX inter-unit moves enabled

Most of them are internal to gcc. But some instructions use the fixed XMM0
register. We may need the Yz constraint for asm statement. Shouldn't it
be documented?
Comment 1 hjl@gcc.gnu.org 2008-12-12 14:33:19 UTC
Subject: Bug 38402

Author: hjl
Date: Fri Dec 12 14:32:00 2008
New Revision: 142710

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142710
Log:
2008-12-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/38402
	* gcc/doc/md.texi: Remove Y and document Yz, Y2, Yi and Ym
	constraints for x86.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/md.texi

Comment 2 hjl@gcc.gnu.org 2008-12-12 14:35:37 UTC
Subject: Bug 38402

Author: hjl
Date: Fri Dec 12 14:34:21 2008
New Revision: 142711

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142711
Log:
2008-12-12  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	2008-12-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/38402
	* gcc/doc/md.texi: Remove Y and document Yz, Y2, Yi and Ym
	constraints for x86.

Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/doc/md.texi

Comment 3 H.J. Lu 2008-12-12 14:36:54 UTC
Fixed