[Libre-soc-bugs] [Bug 676] FORTRAN MAXLOC SVP64 example

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Nov 1 03:00:25 GMT 2023


https://bugs.libre-soc.org/show_bug.cgi?id=676

--- Comment #11 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #10)
> (In reply to Andrey Miroshnikov from comment #9)
> > You can find the compiler options for SFFS PowerISA, in the Makefile:
> > https://git.libre-soc.org/?p=microwatt.git;a=tree;f=hello_world;
> > h=ad4f2ff25fb1ec8c3c0233c8d341a7e5ca6cdb94;hb=refs/heads/verilator_trace

total overkill andrey. shriya will not know a fraction of these.

> looks like this is exactly what shriya needs, she asked me in a private
> email (conversation moved here) how to compile a C version of MAXLOC for
> SFFS.
> 
> so, basically, copy the hello_world directory, 

too complex.

> modify the C source to have
> the MAXLOC algorithm, and then run the Makefile, the Makefile already has
> all the -mno-vsx and similar options needed.

waaay too complex.

like the knuth examples. standalone command. no Makefile.

   gcc  -Os -mno-vsx -mno-altivec maxloc.c

jacob can you make sure i got that right. bare minimum options.
no warnings no "pick this standard", nothing. absolute bare minimum
options.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list