<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Eli,<br><br>Thank your kind help. We can make int type with i48 now even though the alignment of i48 cannot set to 48 (it only can accept value is the power of 2 according we tried).<br><br>Jonathan<br><div><span><br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">寄件者:</span></b> Eli Friedman <eli.friedman@gmail.com><br> <b><span style="font-weight: bold;">收件者:</span></b> gamma_chen <gamma_chen@yahoo.com.tw> <br><b><span style="font-weight: bold;">副本:</span></b> "cfe-dev@cs.uiuc.edu" <cfe-dev@cs.uiuc.edu>; "vijay.daultani@gmail.com"
 <vijay.daultani@gmail.com> <br> <b><span style="font-weight: bold;">寄件日期:</span></b> 2013/9/10 (週二) 2:46 AM<br> <b><span style="font-weight: bold;">主旨:</span></b> Re: [cfe-dev] generate 48bits size for C int type<br> </font> </div> <div class="y_msg_container"><br><div id="yiv216118817"><div dir="ltr">On Sun, Sep 8, 2013 at 7:29 PM, gamma_chen <span dir="ltr"><<a rel="nofollow" ymailto="mailto:gamma_chen@yahoo.com.tw" target="_blank" href="mailto:gamma_chen@yahoo.com.tw">gamma_chen@yahoo.com.tw</a>></span> wrote:<br><div class="yiv216118817gmail_extra"><div class="yiv216118817gmail_quote">
<blockquote class="yiv216118817gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div>Is it possible to generate 48 bits size for C int type instead of the default size 32 bits? Can someone help me, please?</div>
<div><br><br></div></div></div></blockquote><div>Properties of a target like sizeof(int) are specified in the TargetInfo class; see clang/lib/Basic/Targets.cpp .<br></div></div><br></div><div class="yiv216118817gmail_extra">Note that it's possible you'll run into other issues if you try to specify non-power-of-two integer types; it should work in theory, but nobody has ever tried it as far as I know.<br>
</div><div class="yiv216118817gmail_extra"><br></div><div class="yiv216118817gmail_extra">-Eli<br></div></div>
</div><br><br></div> </div> </div>  </div></body></html>