Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 5th, 2008, 06:40 AM
Mohamed Shafi
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
How to get signedness from rtx?

Hello all,

Is there a way to know whether an operand is signed or unsigned from its rtx?

Regards,
Shafi

Reply With Quote
  #2  
Old July 5th, 2008, 06:40 AM
Eric Botcazou
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
How to get signedness from rtx?

Is there a way to know whether an operand is signed or unsigned from its
rtx?

Basically no, this information is not encoded in the operand, rather in the
operator (if it matters).

--
Eric Botcazou

Reply With Quote
  #3  
Old July 5th, 2008, 07:20 AM
Eric Botcazou
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
How to get signedness from rtx?

, my problem is that for some processing during comparison i need
to know whether is the char operand is signed or unsigned. So i guess
i can get this looking at what type of comparison is. But if the
comparison code is EQ or NE will i be able to get the information?

If the signedness doesn't matter for the operation, it won't generally be
encoded in the operator. But, in this case, further processing of the
operation shouldn't have to care about signedness, since at some point it
didn't matter. the other hand, if you're talking about the initial
processing (i.e. during RTL expansion), the information is encoded in the
trees fed to the expander.

--
Eric Botcazou

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Development > How to get signedness from rtx?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway