This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[using gcc book] 5.20 double-word integers


Hello again,

In chapter five, section 5.9 (Double-Word Integers) of the _Using GCC_
book, we have the following sentence:

    Multiplication is open-coded if the machine supports
    fullword-to-doubleword a widening multiply instruction.

I feel this would read more clearly if written as follows:

    Multiplication is open-coded if the machine supports a
    widening fullword-to-doubleword multiply instruction.

Does such a re-write violate the meaning of the original sentence?

The full paragraph, with my revision (sentence 3), is like so:

    You can use these types in arithmetic like any other integer
    types.  Addition, subtraction, and bitwise boolean operations
    on these types are open-coded on all types of machines.
    Multiplication is open-coded if the machine supports a
    widening fullword-to-doubleword multiply instruction.
    Division and shifts are open-coded only on machines that
    provide special support.  The operations that are not
    open-coded use special library routines that come with GCC.

The paragraph is unchanged, aside from the the rewritten third sentence.

Suggestions or objections welcome :)



-- 
Chris Devers    cdevers@pobox.com

scatomancy, n. [Greek skor, skato-, "dung, excrement" + manteia,
  "divination, prophecy."]
A futile WHAT-IF based on the shit in your database or spreadsheet.
See also -MANCY; WHY-NOT.

    -- from _The Computer Contradictionary_, Stan Kelly-Bootle, 1995


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]