<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 10, 2015, at 1:54 PM, Fabio Gritti via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi, we are trying to implement in the LLVM framework the fixed point notation as specified in the ISO/IEC TR 18037 (<a href="http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1169.pdf" class="">http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1169.pdf</a> ).</div><div class=""> </div><div class="">We've read some old discussions on the mailing list ( f.i. <a href="http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-November/036674.html" class="">http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-November/036674.html</a> , <a href="http://lists.llvm.org/pipermail/llvm-dev/2013-December/068473.html" class="">http://lists.llvm.org/pipermail/llvm-dev/2013-December/068473.html</a> ), and it seems that some people don't agree on their implementation as a completely new type. </div><div class="">Do you think that today it is worth to implement them or not? Are there anybody working on this? </div><div class=""><br class=""></div><div class="">If nobody is already working on this,  and the dev community think that it can be a good idea we have a couple of questions: </div><div class=""><br class=""></div><div class="">1- we are following this main guidelines ( <a href="http://llvm.org/docs/ExtendingLLVM.html" class="">http://llvm.org/docs/ExtendingLLVM.html</a> ) in order to add a new type, do you think that it's better a fundamental type or a derived one? </div><div class=""><br class=""></div><div class="">2- Do you have any advice or additional tutorial to suggest in order to implement a new data type?</div></div></div></blockquote><br class=""></div><div>Hi Fabio,</div><div><br class=""></div><div>I’d suggest bringing this up on the cfe-dev mailing list, since this is likely to be a pure clang extension and have little impact on LLVM itself (at least in the short term, it is possible that LLVM extensions will eventually be interesting to improve the implementation).</div><div><br class=""></div><div>-Chris</div><div><br class=""></div><br class=""></body></html>