That package uses the _amd64 in the filenames to exclude other
platforms from building the amd64 specific asm. Maybe the .s files
also need a // +build comment to exclude gccgo? The // +build comment
in the generic code would then need to express gccgo || !amd64. I have
seen documentation on the // +build comments in the past, but I can't
find it now.
Cheers
AGL
Gccgo will either have to use the generic Go implementation or somebody
will have to translate the assembly code to work with /usr/bin/as.
Ian
Albert Strasheim writes:
> With the latest addition to go.crytpo, gccgo can no longer build it:
> How is it supposed to work in this case?
Gccgo will either have to use the generic Go implementation or somebody
will have to translate the assembly code to work with /usr/bin/as.
AES-NI would be very welcome. The only reason that we don't already
have it is that I don't have a machine that supports it :)
However, in that case the support doesn't cut along platform lines the
support should probably mirror the way that CRC32 support is done in
hash/crc32.
Cheers
AGL
Russ
> Can object
> files produced by [568]a be linked into gccgo binaries?
I do not think that would be feasible.
Ian