x86 building altivec for raid ?

From: J.A. Magallon
Date: Sun Nov 13 2005 - 16:02:17 EST


--Sig_lqreqzfpTXzeFCGDyvgpGWH
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi all...

Long time ago noticed this, but did not remember to report till this night:
x86 seems to build altivec source files for md checksums:

CC drivers/md/raid6recov.o
CC fs/partitions/ldm.o
CC fs/proc/task_mmu.o
HOSTCC drivers/md/mktables
CC net/core/dev_mcast.o
UNROLL drivers/md/raid6int1.c
UNROLL drivers/md/raid6int2.c
UNROLL drivers/md/raid6int4.c
UNROLL drivers/md/raid6int8.c
UNROLL drivers/md/raid6int16.c
CC fs/proc/inode.o
UNROLL drivers/md/raid6int32.c
UNROLL drivers/md/raid6altivec1.c
UNROLL drivers/md/raid6altivec2.c
UNROLL drivers/md/raid6altivec4.c
UNROLL drivers/md/raid6altivec8.c
CC fs/partitions/msdos.o
CC drivers/md/raid6mmx.o
CC fs/proc/root.o
CC net/core/dst.o
LD fs/partitions/built-in.o
CC net/core/neighbour.o
CC drivers/md/raid6sse1.o
=20
(buld lines are out of order due to a make -j4)

Kernel is 2.6.14-mm2.
This is an x86 box, why does it compile raid6altivec*.c ? I suppose it
does not generate any code, because of some #ifdef magic, but why does
it build them anyways ? Looks a bit strange.

Thanks.

--
J.A. Magallon <jamagallon()able!es> \ Software is like se=
x:
werewolf!able!es \ It's better when it's fr=
ee
Mandriva Linux release 2006.1 (Cooker) for i586
Linux 2.6.14-jam2 (gcc 4.0.2 (4.0.2-1mdk for Mandriva Linux release 2006.1))

--Sig_lqreqzfpTXzeFCGDyvgpGWH
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDd6nVRlIHNEGnKMMRAomyAJ9tmzEB3gyM9i40C36VWnvE3KXxdgCglV6v
PEumdZVQdoF68JH+hqwPKkc=
=sv7M
-----END PGP SIGNATURE-----

--Sig_lqreqzfpTXzeFCGDyvgpGWH--
-
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/