Sys.Signals module for a Variant type of signals (and a set_signal function that...
[ocaml.git] / config / auto-aux / ia32sse2.c
blobcbe114626a8bc2fe9a46351b22e016bfc836704a
1 /***********************************************************************/
2 /* */
3 /* Objective Caml */
4 /* */
5 /* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
6 /* */
7 /* Copyright 2003 Institut National de Recherche en Informatique et */
8 /* en Automatique. All rights reserved. This file is distributed */
9 /* under the terms of the GNU Library General Public License, with */
10 /* the special exception on linking described in file ../../LICENSE. */
11 /* */
12 /***********************************************************************/
14 /* $Id$ */
16 /* Test whether IA32 assembler supports SSE2 instructions */
18 int main()
20 asm("pmuludq %mm1, %mm0");
21 asm("paddq %mm1, %mm0");
22 asm("psubq %mm1, %mm0");
23 return 0;