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: Generate -zero RTX expression


Revital1 Eres <ERES@il.ibm.com> writes:

> I appreciate it if someone could tell me how I can create a -0 RTX
> expression (like CONST0_RTX)?

The easy way is something along the lines of:
    simplify_gen_unary (NEG, mode, CONST0_RTX (mode), mode)

Ian


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