xref: /qemu/tests/fp/platform.h (revision 3ac1f81329f4dfdc10a51e180f9cf28dbcb02a3c)
1*3ac1f813SEmilio G. Cota #ifndef QEMU_TESTFLOAT_PLATFORM_H
2*3ac1f813SEmilio G. Cota #define QEMU_TESTFLOAT_PLATFORM_H
3*3ac1f813SEmilio G. Cota /*
4*3ac1f813SEmilio G. Cota  * Copyright 2011, 2012, 2013, 2014, 2015, 2016 The Regents of the University of
5*3ac1f813SEmilio G. Cota  * California.  All rights reserved.
6*3ac1f813SEmilio G. Cota  *
7*3ac1f813SEmilio G. Cota  * Redistribution and use in source and binary forms, with or without
8*3ac1f813SEmilio G. Cota  * modification, are permitted provided that the following conditions are met:
9*3ac1f813SEmilio G. Cota  *
10*3ac1f813SEmilio G. Cota  *  1. Redistributions of source code must retain the above copyright notice,
11*3ac1f813SEmilio G. Cota  *     this list of conditions, and the following disclaimer.
12*3ac1f813SEmilio G. Cota  *
13*3ac1f813SEmilio G. Cota  *  2. Redistributions in binary form must reproduce the above copyright notice,
14*3ac1f813SEmilio G. Cota  *     this list of conditions, and the following disclaimer in the
15*3ac1f813SEmilio G. Cota  *     documentation and/or other materials provided with the distribution.
16*3ac1f813SEmilio G. Cota  *
17*3ac1f813SEmilio G. Cota  *  3. Neither the name of the University nor the names of its contributors may
18*3ac1f813SEmilio G. Cota  *     be used to endorse or promote products derived from this software without
19*3ac1f813SEmilio G. Cota  *     specific prior written permission.
20*3ac1f813SEmilio G. Cota  *
21*3ac1f813SEmilio G. Cota  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS", AND ANY
22*3ac1f813SEmilio G. Cota  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23*3ac1f813SEmilio G. Cota  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE
24*3ac1f813SEmilio G. Cota  * DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY
25*3ac1f813SEmilio G. Cota  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26*3ac1f813SEmilio G. Cota  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27*3ac1f813SEmilio G. Cota  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28*3ac1f813SEmilio G. Cota  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29*3ac1f813SEmilio G. Cota  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30*3ac1f813SEmilio G. Cota  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31*3ac1f813SEmilio G. Cota  */
32*3ac1f813SEmilio G. Cota #include "config-host.h"
33*3ac1f813SEmilio G. Cota 
34*3ac1f813SEmilio G. Cota #ifndef HOST_WORDS_BIGENDIAN
35*3ac1f813SEmilio G. Cota #define LITTLEENDIAN 1
36*3ac1f813SEmilio G. Cota /* otherwise do not define it */
37*3ac1f813SEmilio G. Cota #endif
38*3ac1f813SEmilio G. Cota 
39*3ac1f813SEmilio G. Cota #define INLINE static inline
40*3ac1f813SEmilio G. Cota 
41*3ac1f813SEmilio G. Cota #endif /* QEMU_TESTFLOAT_PLATFORM_H */
42