On 14/02/2014 23:27, Bill Hart wrote:
> Hi all,
> 
> today I went through all the C code in the mpn directory and cleaned it
> up. This mostly meant adding whitespace in code that was extremely cramped.
> 
> It's much easier to see what the code does now, which should make it
> easier to maintain.
> 
> The other day I commented some of the assembly code, but I gave up since
> there is just so much of it. We'll add more comments to assembly code
> with each new release of MPIR.
> 
> I'm also thinking of converting all the yasm code in the *nix x86_64
> directory to gas format and ditching yasm. This would be better in the
> long run. It's already been converted to Windows and no one is currently
> writing lots of new assembly code. MPIR would therefore be easier to
> maintain without yasm.
> 
> However, converting all that code could take quite some time. There's
> probably something like 30 unique .as (yasm format) files.

There is Python code in MPIR to go in the other direction (g2y.py) which
did not take me to long to write.  If anyone knows Python it would not
be too hard to write a conversion program.

The other option is to use Agner Fog's objconv program to convert the
object files output by yasm back into GAS assembler. But this only
converts into Intel format and would need further work if you want AT&T
format (why anyone would actually want AT&T format is beyond me :-).

   Brian




-- 
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to