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]

Re: On -ftrapv vs. libcalls...


Zdenek Dvorak wrote:
What I do not understand is why it is legal to turn the libcall back
into MULT.

Because there is a REG_EQUAL note that claims the mulvdi3 result is exactly equivalent to an ordinary multiply. If it isn't exactly the same as an ordinary multiply, then the REG_EQUAL note should not be there. Or else the REG_EQUAL note should be changed to be accurate, but that would probably require creating a new RTL operator, e.g. multv.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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