This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Intrinsics with -march=pentium3


> Wouldn't you compile the SSE routine in one source file with the
switch, and the non-SSE routine in a different source file (along with
all the rest of the other source code) without the switch.

But is there any real reason for the
#ifndef __SSE__
# error "SSE instruction set not enabled"

Maybe it could only be a warning or something? I think there are many
legitimate uses for SSE intrinsics in non-pentium3-specific code. Also,
I see no reason to force the move of intrinsics to separate files.

        Jean-Marc

-- 
Jean-Marc Valin, M.Sc.A., ing. jr.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada

Attachment: signature.asc
Description: Ceci est une partie de message=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]