Bug 38402 - Undocumented Yz constraint
Summary: Undocumented Yz constraint
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: 4.3.3
Assignee: Not yet assigned to anyone
URL:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2008-12-04 14:54 UTC by H.J. Lu
Modified: 2008-12-12 14:36 UTC (History)
4 users (show)

See Also:
Host:
Target: x86-gnu-linux
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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