HPC
HPC

| HPC and Data for Lattice QCD

Nlcc Status

HPC and Data for Lattice QCD

Nlcc Status

Status

March 2006 : nlcc 0.6.0 released.

This release is based on a major reorganisation and clean-up of Nlcc source code. Although it tries to minimize behavior evolutions - in order to reduce the risk of regression- it also solves a set of major bugs.

Latest version: 0.6.0

The rpm files should be installable on most Linux distributions.
It is designed to be used with the nrpm installer!
The link always points to the latest released rpm file. So the easiest way to upgrade is:

        nrpm -U nlcc.rpm nlcc-default.rpm

The download package for nrpm packages is here.

<meta content="OpenOffice.org 2.0 (Linux)" /> <meta content="20060331;10404600" /> <meta content="20060331;10435400" /> <style space="preserve"> <!-- @page { size: 21cm 29.7cm; margin: 2cm } --> </style> <p> <a />Known Bugs</p> <p>See the official <a href="http://www-zeuthen.desy.de/ape/cgi-bin/webrt.cgi?q_queue=nlcc">bug tracker</a>.</p> <p> <a />Bug Reports</p> <p>Please send bug reports !!<br />If you send them, do so either </p> <ul> <li> <p>by submitting a request to <br /> <a href="mailto:nextreq@ifh.de">nextreq at ifh.de</a> </p> </li> <li> <p>OR by submitting such a request directly via the<br /> <a href="http://www-zeuthen.desy.de/ape/cgi-bin/webrt.cgi?q_queue=nlcc">request tracker webpage</a>. <br />In any case please include (not attach) a small program to reproduce the bug and include also the version number of nlcc (as given by 'nlcc -V'). </p> </li> </ul> <br />Changelog:<br />* Wed Mar 29 2006 - 0.6.0<br /> - Major code cleanup.<br /> - Add management of the code location (PMSEC)<br /> - Fixed bug major bug in register allocation system (RT-377)<br /> - Fixed bug in loop unrolling without a scope definition (RT-383)<br /> - Fixed bug in vector initialization (RT-381)<br /> - Fixed bug in ASM parsing (clobber registers with no other arguments.).<br /> - Fixed bug in wrapper (missing link resolution)<br /> - Fixed bug for an undefined SEX_NLCC_STK_OVFL without os.<br /> <br />* Mon Jan 9 2006 - 0.5.5<br /> - Change '-vitualregs' option into '-virtregs' for virtual register mode (H Req).<br /> - Fix bug in sysvars.h for OS3 and OS7.<br /> - Fix bug in cflow management : support of filenames with '-'<br /> - Fix bug in code generation : RT-360 - Conversion between signed, unsigned to vectors.<br /> - Fix bug in code generation : RT-368 - sboth and jump on the same line.<br /> - Fix bug in initialisation parsing : RT-367 - multi-node initialisation of a vector.<br /> - Fix bug in loop unrolling : RT-372 - correct and rewrite the computation with more control.<br /> <br />* Mon Nov 4 2005 - 0.5.4<br />- Fix bug in RPM installation procedure.<br /> <br />* Wed Nov 2 2005 - 0.5.3<br />- New ncpp preprocessor managing flow analysis. Solve bugs RT-341 and RT-355.<br />- Remove RPM dependences. Can be installed as a standalone compiler.<br />- Fix bug in vector code generation if where statement (sboth)<br />- Fix bug in register allocation system : management of the class.<br />- Fix bug in global pragma code generation.<br />- Call explicitly os macros os1, os3 and os7 with the -os[137] option.<br /> <br />* Thu Jun 17 2005 - 0.5.2<br />- fix bug in simplification of constant expressions for 64bits values.<br />- remove generation of pragma_pmseg pragmas.<br />- add a management of line return in code generation for long register to memory instructions.<br />- fix bug in code generation of variable arguments in virtual register mode.<br />- fix bug in register allocation of inlined asm code. Add a warning when allocation not possible.<br />- fix bug in section generation for static const global variables.<br />- fix bug in virtual register mode passing argument registers.<br />- add the flag -virtualregs in the wrapper for pure virtual register code generation.<br />- add a flag (-gp) for nperf compatible for source code in comment in .sasm files.<br />- add a warning for impossible loop unrolling (incorrect scope)<br />- add a warning for impossible function inlining (function body not declared)<br />- fix bug in unused inlined function code generation<br />- fix bug in pragma_pmseg generation<br />- fix various bugs in environment control and include path search.<br />- fix bug for the operating system environment selection solved (RT-333)<br />- set -os1 by default, add the -no-os to unactivate os code generation, add -os137 option for generic os support.<br />- set -M by default<br />- fix bug for the shaker calling.<br /> <br />* Thu Jun 11 2005 - 0.5<br />- new environment management<br />- implementation of a prefixed register access for virtual and physical registers<br />- correction of system register usage<br />- support of PRAGMA_SW_INFO PRAGMA_SW_REQ<br />- make -gl option compatible with nperf<br />- fix bug in pragma_maxphys generation for system generation<br /> <br />* Thu Mar 04 2005 - 0.4.91<br />- Correct bug in initialisation of variables values (RT-293)<br />- Add additional control over environment set for rcc compilation.<br />- Correct bug ignoring the -nlcc parameter specification (lcc installation path)<br />- Correct bug in nlcc occuring when the target specification do not appear early.<br />- Add option -gl for source code in comment in .sasm files.<br />- Remove test directory dedicated to original lcc compiler.<br />- Correct the initialisation sequence without any repetition.<br />- Add control over LCCDIR and add relative search based on the current directory.<br />- Add Doxygen comments in source files.<br /> <br />* Thu Jan 13 2005 - 0.4.9 <br />- change compilation setup to allow parallel compilation<br /> on different platforms<br />- re-change the handling of identical conditions in <br /> where statements<br />- fix erroneous assembly output (bug 286)<br />- review all sources to enable mosty warning-free compilation<br /> with icc and gcc also on x86_64 and ia64 platforms.<br />- remove setgid bit from rpm package (bug 301)<br />- fix erroneous call to xml_end() (bug 302)<br />- support register bitfields (bug304)<br />- allow vector integer types in various binary operations (bug 305)<br />- add missing opcodes to simplify() (bug 306)<br /> <br />* Wed Aug 18 2004 - 0.4.8<br />- change a bug in the spill-checker<br />- burstify argument spilling<br />- modify the output routines to enable better debug output<br />- add framework to write XML debug file<br />- fix bug in handling of VLAs (req #275)<br />- fix a typo in the machine descript. for vector unsigned<br /> arguents (req #279, #270)<br />- remove a wrong warning from the cflow source preprocessor<br /> <br />* Tue Aug 10 2004 - 0.4.7<br />- fix a bug introduced in nlcc 0.4.6 that gave an internal error <br /> when returning structs from a function.<br />- fix a problem in the initialization of temporary unions inside <br /> where blocks.<br /> <br />* Fri Aug 6 2004 - 0.4.6<br />- fix bug #266 (call to reference check in wrong scope)<br />- fix bug #270 (not reporting reference to register embedded array)<br />- fix bug #271 (not reporting forbidden rel.operators for complex)<br /> <br />* Thu Aug 5 2004 - 0.4.5<br />- fix an embarassing bug in the address generation part for cases where<br /> arrays are accesses with remote offset via pointers.<br />- fix an unrelated but similar bug in the code selection for local<br /> addresses that screwed up addresses.<br />- fix LBA generation for negative offsets.<br />- allow setting paths to assembler, shaker, etc. via -Wx=path<br /> <br />* Mon Jul 26 2004 - 0.4.4<br />- fix a missing type check in the reg-alloc for unions that contain<br /> vector int fields (bug #257)<br /> <br />* Fri Jul 23 2004 - 0.4.3<br />- change type error into warning when discarding qualifiers in arguments<br />- add more support for unsigned char<br />- fix spilling of char type variables<br />- remove extraneous bank initializers when unspilling doubles.<br />- fix an erroneous 'unsigned' cast for pointer differences<br />- support for the __func__ identifier (req. by C99)<br />- support for compiler part of function pointers<br />- re-enable the loop unroller (#pragma unroll)<br />- fix implementation of conditionals that contain calls.<br />- fix where implementation in case of CSE of conditions<br />- disallow flow control in where statements (#244, #236)<br />- fix some nodeprivate handling (#240)<br />- fix extra padding bug (#243)<br />- fix label generation in general (renaming etc, also bug #239)<br />- fix bug in inline assembly output-to-memory handling<br />- support for PM segments<br /> <br />* Thu Jun 17 2004 - 0.4.2<br />- add forgotten vector type argument handling<br />- fix initialization of register variables that are used in <br /> where conditions<br />- fix emission of function end labels.<br />- fix emission of declared labels.<br />- inhibit warnings about missing prototypes for builtin functions.<br />- support for '#pragma free_qtr'<br />- support for external libc header files<br />- fix bug in inline assembly that lost some parsed trees.<br />- fix bug in blkcpy routine (access to wrong registers)<br />- support for vector int and vector unsigned types<br /> <br />* Mon Mar 22 2004 - 0.4.1<br />- add missing initialization of the float high bank when reading from <br /> union fields<br />- allow turning off of some optimizations, notably CNORM contraction<br />- add support for named struct field initializers<br />- fix the handling of pragmas in some special nesting situations<br />- add support for '#pragma STDC FP_CONTRACT'<br />- fix spilling of some single-bank written registers<br />- fix missing high-bank initialization of .re/.im assigned double arguments<br />- add extra check for binary complex operators<br />- add support for printf() and fprintf()<br /> <br />* Tue Feb 3 2004 - 0.4<br />- complete rework of the 'where' implementation to allow also <br /> evaluation of instructions with side effects.<br /> fixes also bug #208<br />- complete rework of the inline assembly <br /> addresses bug #191<br />- updated ABI in order to accomodate dynamic allocation and variadic<br /> functions<br />- introduce command line arguments and #pragmas for fine tuning of <br /> structure alignment<br />- evaluate conditionals using 'where' if possible<br />- introduce descriptive comments in assembly output<br />- fix wrong output of constants near the type range borders<br />- fix for #pragmas consuming an instruction slot (bug #209)<br />- fix some missing type checks that failed in case of function pointers<br /> (bugs 211 and 212)<br />- support for OS1 <br />- Fix a small bug in the slice parser.<br />- Fix a small bug for 'const' parameters to inline functions.<br />- Fix a bug in the privatization of function symbols in inline<br /> functions.<br /> <br />* Thu Jan 15 2004 - 0.3.42<br />- fix accidental removal of structure return address <br />- fix for bad opcode emitted in some address calculations<br /> <br />* Tue Nov 4 2003 - 0.3.41<br />- fix a wrong address expression emitted by alloca()<br /> <br />* Wed Oct 22 2003 - 0.3.40<br />- fix a bug in the inlining code that forgot to rename some<br /> local labels<br /> <br />* Fri Oct 17 2003 - 0.3.39<br />- fix detection of call inside where blocks<br />- fix internal cast bug for __typecode()<br />- fix conditionals with complex constants<br />- fix a bug where required local memory acccess was not done without<br /> optimization<br />- fix a bug in referencing inline functions<br />- make vector type where conditions more strict and synchronize<br /> both banks, introduce '#pragma vectorcond' for reversing this<br />- improve data alignment for structures<br />- support for inline initialzation of structures and generation<br /> of anonymous temporary (initialized) structs<br /> <br />* Wed Sep 17 2003 - 0.3.38<br />- fix prevention of CSE for pointers to registers<br />- fix bug #195 ( generate warning when running out of registers<br /> while allocating regsets )<br />- fix wrong lookup of identifiers in case of same-name register variables<br /> in different scopes.<br />- 'pointer-of-single-bank' errors are more severe now and cause<br /> immediate exit<br /> <br />* Tue Sep 16 2003 - 0.3.37<br />- support for variable length arrays (VLAs)<br />- experimental LBA support for accessing indirect regster arrays<br />- improved block copy routine<br />- fix a number of mtr/lmtr issues with block copying<br />- fix a bug in the CSE killing for derived register symbols<br />- fix a bug in auto/register decision for derived local symbols<br />- fix initialization of bitfields (bug #178)<br />- fix id generator for multiply indirected local array elements<br />- fix for bug #190 (type qualifier in unexpected location)<br />- implementation of an auto-extending virtual register set (bug #182)<br />- add support for C99 hex floating point contants<br />- The -o flag didn't always work. Fixed. <br />- fix a number of wrong or missing high-bank initializations<br /> <br />* Tue Jul 15 2003 - 0.3.36<br />- fix a scoping problem with arguments of inline functions<br />- allow -o and -E options together.<br />- fix an erroneous 32bit constant used in unsigned negation<br /> and some other 32/64 bit problems with constants<br />- fix missing leading '$' in some expape macros<br />- fix a symbol lookup error for same names in different scopes.<br />- enforce binary tree switch handling also for case lists<br /> with maximum density<br />- fix a number of typos in the machine description <br />- complete rework of the where-handling<br />- support of unsigned conditions<br />- rework of the write-log for registers to fix <br /> occasional extra spills<br />- slightly improved fabs() function in math.h<br />- re-enables the shaker's register renamer at the cost of some<br /> physical registers when using inline functions<br />- fix some problems with initilialization of single banks<br />- add alloca support<br />- enforce register variables in all library<br /> functions.<br /> <br />* Fri Mar 14 2003 - 0.3.35<br />- add a missing check for nodeprivate when doing local memory<br /> optimization<br />- rework of the stacklevel detection and forced initialization <br /> of _all_ used temporary registers in where blocks<br />- fix two mis-spelled instructions <br />- fix the paths to helper applications in 'ncpp'<br />- lower the use_count level necessary to become a <br /> register variable.<br />- fix bug where forced localmem was missing for regsets<br />- fix a bug in the internal array size calculation<br />- fix an erroneous assert in the spill code<br />- fix case insensitivity and parsing in 'un-symbolize' helper.<br /> <br />* Tue Feb 18 2003 - 0.3.34<br />- fix the installation of generated locals in the symbol table<br /> -> better CSE support <br />- nodeprivate qualifier support (for local memory access)<br />- generated address temporaries receive a 'nodeprivate' qualifier<br /> to make them eligible for local memory optimizations.<br />- #pragma localmem support<br />- fix a bug in queue.h which didn't produce a correct AGU_DR<br />- fix a inot bug again<br />- fix a bug in else branch handling for constant where conditions<br />- fix req#121: single bank problem in inline assembly<br />- compiler support for C99 '//' style comments<br />- fix structure return bug for inline functions<br />- provide both internal and external linkage for inline<br /> functions.<br />- preliminary support for Sofan post-optimization<br />- fix several bugs where the register spill code ignored<br /> the register lifetime or misinterpreted regsets.<br />- some smaller C99 conformance fixes.<br />- add support for slice specifier in global initializers.<br />- run an extra flow analyzer step before the <br /> preprocessor to reduce the code size.<br />- support for C99-style initializers in for loops<br /> for ( int i=0 ; i< nl i++) <br /> <br />* Thu Oct 24 2002 - 0.3.33<br />- clean up the global contructors and put them in a defined place<br />- addressing modes were messed up by a too short int (triggered by lcc-4.2 update)<br />- remove erroneous write_double routine (#defined -> write_float now)<br />- fix a case in inline assembly that didn't work without -O<br />- add LOCAL direction to topology.h<br />- try to fix a bug reported in comp.compilers.lcc<br />- fix where-handling broken by last releases<br /> <br />* Wed Oct 2 2002 - 0.3.32<br />- re-insert missing argument passing checks to allow register structs as<br /> args.<br />- fix bug in space allocation of return value when inlining (crashed w/o -O)<br />- better detection of access to embedded register arrays<br />- fix typo in FP constant folding and do it now IEEE mode on X86.<br />- int constants are now also in both banks (was forgotten in earlier releases)<br />- fix where-condition handling for constant conditions<br />- fix output of large offsets , now in hex, and their conversion for .no files.<br /> <br />* Fri Sep 20 2002 - 0.3.31<br />- add a missing "unqualify" for a type check<br />- re-introduce ABI change to allow passing struct function return values<br /> into reg structs<br /> <br />* Thu Sep 19 2002 - 0.3.30 <br />- fix bug in caller argument offset <br />- better 'cpp' detection in installed wrapper scripts<br />- pass again '-noregrename' to shaker (found a case where it's still necessary)<br /> <br /> <br /></div> <!-- /ZMSTextarea.standard_html --> <!-- /bodyContentZMSLib_page --> </div> </main> <!-- <aside>Related links</aside> --> <footer> <a target="_blank" title="zu 'Die Website der Helmholtz Gemeinschaft'" href="http://www.helmholtz.de/"> <img id="logo-helmholtz" alt="Logo der Helmholtz Gemeinschaft" src="https://hpc.desy.de/common/2017_H_Logo_RGB_DE.png?w"> </a> <div class="address"> <ul id="footer-nav" class="nav footer-nav-eng"> <li class=""> <a href="mailto:hubert.simma@desy.de" title="Contact">Contact</a> </li> <li class=""> <a href="https://www.desy.de/data_privacy_policy/index_eng.html" title="Data Privacy Policy">Data Privacy Policy</a> </li> <li class=""> <a href="https://www.desy.de/declaration_of_accessibility/index_eng.html" target="_blank">Declaration of Accessibility</a> </li> <li class="last"> <a href="http://www.desy.de/imprint/index_eng.html" title="Imprint">Imprint</a> </li> </ul> <p class="tagline">© 2024 Deutsches Elektronen-Synchrotron DESY</p> </div> <!----- Scroll to top -------> <a href="#" class="scrollToTop">ˆ</a> <script> $(document).ready(function(){ $('.scrollToTop').hide(); //Check to see if the window is top if not then display button $(window).scroll(function(){ if ($(this).scrollTop() > 500) { $('.scrollToTop').fadeIn(); } else { $('.scrollToTop').fadeOut(); } }); //Click event to scroll to top $('.scrollToTop').click(function(){ $('html, body').animate({scrollTop : 0},800); return false; }); // Mailto Spambots fix /* 20210315 - d10n $('a[href*="href=\'mailto:\'"]').each(function() { var crpt = $(this).attr('href').split('(')[1].slice(1,-2); var eml = atob(crpt); // console.log(crpt + '=' + eml); $(this).attr('href','mailto:'+ eml); }); */ }); </script> <!----- //Scroll to top -------> </footer> <script type="text/javascript" src="/sites/common4all/fancybox/jquery.fancybox.min.js"></script> <script type="text/javascript" charset="UTF-8" src="https://hpc.desy.de/common/local_js/desygroups.js"></script> <!-- Cookie Bar --> <style> .cookie-bar__inner{background-color:#000;color:#fff;font-size:.875rem;padding:.375rem .5rem}@media (min-width:48rem){.cookie-bar__inner{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}}.cookie-bar__buttons{display:block;margin-top:.375rem}@media (min-width:48rem){.cookie-bar__buttons{display:inline;margin-top:0}.cookie-bar--bottom-left,.cookie-bar--bottom-right{width:22.5rem}}.cookie-bar__btn{background-color:#0275d8;color:#fff;border:none;margin-right:.875rem;padding:.125rem .875rem;-webkit-transition:background-color .3s;-o-transition:background-color .3s;transition:background-color .3s;cursor:pointer}.cookie-bar__btn:hover{background-color:#009fdf}.cookie-bar__btn:active{background-color:#F18F1F}.cookie-bar a{color:#fff;text-decoration:underline}.cookie-bar a:hover{text-decoration:none}.cookie-bar--bottom,.cookie-bar--bottom-left,.cookie-bar--bottom-right{z-index:100;position:fixed}.cookie-bar--bottom{right:0;bottom:0;left:0}.cookie-bar--bottom-left{left:.9375rem}.cookie-bar--bottom-right{right:.9375rem}.cookie-bar--bottom-left,.cookie-bar--bottom-right{bottom:.9375rem}@media (min-width:48rem){.cookie-bar--bottom-left .cookie-bar__buttons,.cookie-bar--bottom-left .cookie-bar__inner,.cookie-bar--bottom-right .cookie-bar__buttons,.cookie-bar--bottom-right .cookie-bar__inner{display:block}.cookie-bar--bottom-left .cookie-bar__buttons,.cookie-bar--bottom-right .cookie-bar__buttons{margin-top:.375rem}}.cookie-bar--bottom-left .cookie-bar__inner,.cookie-bar--bottom-right .cookie-bar__inner{line-height:1.3} </style> <div id="cookie-bar" style="display:none;" class="cookie-bar cookie-bar--bottom-right"><div class="cookie-bar__inner"><span class="cookie-bar__message">We use cookies to provide full functionality of our website.</span><span class="cookie-bar__buttons"><button type="button" class="cookie-bar__btn" id="cookie-bar_ok">OK</button><a href="https://www.desy.de/data_privacy_policy/" target="_blank" rel="noreferrer">More information</a></span></div></div> <script> var DESYcookies = localStorage.getItem('DESYcookies'); if (DESYcookies != 'accepted') { var cookiebar = document.getElementById('cookie-bar'); cookiebar.style.display = ''; document.getElementById('cookie-bar_ok').onclick = function() { localStorage.setItem('DESYcookies', 'accepted'); cookiebar.style.display = 'none'; } } </script> <!-- End Cookie Bar --> <!-- Matomo --> <script type="text/javascript"> var piwik_id='111'; var _paq = window._paq = window._paq || []; _paq.push(['disableCookies']); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https:///matomo.desy.de/piwik/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', 111]); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script> <noscript><p><img src='https://matomo.desy.de/piwik/matomo.php?idsite=111' style="border:0;" alt="" /></p></noscript> <!-- End Matomo Code --> </body> </html>