[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / libc / include / llvm-libc-types / fenv_t.h
bloba95e08179cceb882da98f41c7a407a55672b73ae
1 //===-- Definition of type fenv_t -----------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef __LLVM_LIBC_TYPES_FENV_T_H__
10 #define __LLVM_LIBC_TYPES_FENV_T_H__
12 #ifdef __aarch64__
13 typedef struct {
14 unsigned char __control_word[4];
15 unsigned char __status_word[4];
16 } fenv_t;
17 #endif
18 #ifdef __x86_64__
19 typedef struct {
20 unsigned char __x86_status[28];
21 unsigned char __mxcsr[4];
22 } fenv_t;
23 #endif
25 #endif // __LLVM_LIBC_TYPES_FENV_T_H__