Re: nasm over gas?
From: Yann Droneaud
Date: Thu Sep 04 2003 - 08:45:36 EST
fruhwirth clemens wrote:
> Hi!
>
> I recently posted a module for twofish which implements the algorithm in
> assembler (http://marc.theaimsgroup.com/?l=linux-kernel&m=106210815132365&w=2)
>
> Unfortunately the assembler used is masm. I'd like to change that. Netwide
> Assembler (nasm) is the assembler of my choice since it focuses on
> portablity and has a more powerful macro facility (macros are heavily used
> by 2fish_86.asm). But as I'd like to make my work useful (aim for an
> inclusion in the kernel) I noticed that this would be the first module to
> depend on nasm. Everything else uses gas.
>
> So the question is: Is a patch which depends on nasm likely to be merged?
>
I hope no ...
Some years ago, we converted the only part of the kernel that used as86
to GNU as: see arch/i386/boot. I think this was an improvement.
Using nasm for only one small piece of code would be a regression, imho.
Regards.
PS: GCC pass .S assembler source files through cpp, so you get macros
expanding.
--
Yann Droneaud <yann.droneaud@xxxxxxx>
<ydroneaud@xxxxxxxxxxx> <meuh@xxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/