First set of licensing changes
[mono.git] / mono / utils / mono-hwcap-s390x.c
1 /*
2  * mono-hwcap-s390x.c: S/390x hardware feature detection
3  *
4  * Authors:
5  *    Alex Rønne Petersen (alexrp@xamarin.com)
6  *    Elijah Taylor (elijahtaylor@google.com)
7  *    Miguel de Icaza (miguel@xamarin.com)
8  *    Neale Ferguson (Neale.Ferguson@SoftwareAG-usa.com)
9  *    Paolo Molaro (lupus@xamarin.com)
10  *    Rodrigo Kumpera (kumpera@gmail.com)
11  *    Sebastien Pouliot (sebastien@xamarin.com)
12  *    Zoltan Varga (vargaz@xamarin.com)
13  *
14  * Copyright 2003 Ximian, Inc.
15  * Copyright 2003-2011 Novell, Inc
16  * Copyright 2006 Broadcom
17  * Copyright 2007-2008 Andreas Faerber
18  * Copyright 2011-2013 Xamarin Inc
19  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
20  */
21
22 #include "mono/utils/mono-hwcap-s390x.h"
23 #include <signal.h>
24
25 facilityList_t facs;
26
27 void
28 mono_hwcap_arch_init (void)
29 {
30         int lFacs = sizeof(facs) / 8;
31
32         __asm__ ("      lgfr    0,%1\n"
33                  "      .insn   s,0xb2b00000,%0\n"
34                  : "=m" (facs) : "r" (lFacs) : "0", "cc");
35 }
36
37 void
38 mono_hwcap_print (FILE *f)
39 {
40 }