public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/21110] New: incorrect documentat for high and lo_sum RTL operators
@ 2005-04-19 20:26 wilson at gcc dot gnu dot org
  2005-07-19  5:24 ` [Bug middle-end/21110] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 3+ messages in thread
From: wilson at gcc dot gnu dot org @ 2005-04-19 20:26 UTC (permalink / raw)
  To: gcc-bugs

The documentation in rtl.texi for the HIGH and LO_SUM operators incorrectly say
that they should use Pmode.  There is no such restriction.  They can be used
with any mode.  Pmode is only necessary if the operand is an address, such as a
SYMBOL_REF or a LABEL_REF.  The text will need some rewording to make this clear.

-- 
           Summary: incorrect documentat for high and lo_sum RTL operators
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wilson at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21110


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug middle-end/21110] incorrect documentat for high and lo_sum RTL operators
  2005-04-19 20:26 [Bug other/21110] New: incorrect documentat for high and lo_sum RTL operators wilson at gcc dot gnu dot org
@ 2005-07-19  5:24 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-19  5:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-19 05:16 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|other                       |middle-end
     Ever Confirmed|                            |1
           Keywords|                            |documentation
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-19 05:16:06
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21110


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug middle-end/21110] incorrect documentat for high and lo_sum RTL operators
       [not found] <bug-21110-4@http.gcc.gnu.org/bugzilla/>
@ 2012-02-04  0:52 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-04  0:52 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21110

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-04 00:52:00 UTC ---
The number of low order bits is machine-dependent but is
normally the number of bits in a @code{Pmode} item minus the number of
bits set by @code{high}.

@var{m} should be @code{Pmode}.


The last part is what is incorrect.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-04  0:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-19 20:26 [Bug other/21110] New: incorrect documentat for high and lo_sum RTL operators wilson at gcc dot gnu dot org
2005-07-19  5:24 ` [Bug middle-end/21110] " pinskia at gcc dot gnu dot org
     [not found] <bug-21110-4@http.gcc.gnu.org/bugzilla/>
2012-02-04  0:52 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).