9 #define SECTION_TERMINATED -1 50 #define __STAC_EXPANDED(f_pfx, t, f_sfx) f_pfx##t##f_sfx 51 #define STAC(f_pfx, t, f_sfx) __STAC_EXPANDED(f_pfx, t, f_sfx) 63 #define FLOAT_EXC_OVF 0 64 #define FLOAT_EXC_STD 1 65 #define FLOAT_EXC_SAT 2 67 #define FLOAT_RND_NONE 0 68 #define FLOAT_RND_NEVN 1 70 #define IEEE64_FRAC_BITS 52 71 #define IEEE64_EXP_BITS 11 72 #define IEEE64_EXP_BIAS -1023 73 #define IEEE_RND FLOAT_RND_NEVN 74 #define IEEE_EXC FLOAT_EXC_STD 76 #define IEEE_SUBNORM 1 79 #define IEEE64_SPEC_ARGS \ 80 IEEE64_EXP_BITS, IEEE64_FRAC_BITS, IEEE64_EXP_BIAS, IEEE_RND, IEEE_EXC, IEEE_ONE, IEEE_SUBNORM, IEEE_SIGN 82 #ifndef TEST_FRAC_BITS 83 #define TEST_FRAC_BITS IEEE64_FRAC_BITS 86 #define TEST_EXP_BITS IEEE64_EXP_BITS 89 #define TEST_EXP_BIAS IEEE64_EXP_BIAS 92 #define TEST_RND IEEE_RND 95 #define TEST_EXC IEEE_EXC 98 #define TEST_ONE IEEE_ONE 101 #define TEST_SUBNORM 0 104 #define TEST_SIGN IEEE_SIGN 106 #define TEST_SPEC_ARGS \ 107 TEST_EXP_BITS, TEST_FRAC_BITS, TEST_EXP_BIAS, TEST_RND, TEST_EXC, TEST_ONE, TEST_SUBNORM, TEST_SIGN 109 #ifdef CUSTOM_INTERFACE 111 #define DATA_TYPE unsigned long long 113 #define DATA_TYPE double 117 #include <softfloat.h> 119 #define __float_to_in(in) __float_cast(in, IEEE64_SPEC_ARGS, TEST_SPEC_ARGS) 120 #define __out_to_float(out) __float_cast(out, TEST_SPEC_ARGS, IEEE64_SPEC_ARGS) 125 unsigned long long u;
128 #define DATA_TYPE double 130 #define __float_to_in(in) in 131 #define __out_to_float(out) out 140 #define __float_recast(in) __out_to_float(__float_to_in(in)) 142 #include <mdpi/mdpi_user.h>
int write_int32_t_array(int fd, int32_t *arr, int n)
int parse_uint32_t_array(char *s, uint32_t *arr, int n)
void data_to_output(int fd, void *vdata)
char * find_section_start(char *s, int n)
int write_uint16_t_array(int fd, uint16_t *arr, int n)
void data_to_input(int fd, void *vdata)
void run_benchmark(void *vargs)
int parse_uint64_t_array(char *s, uint64_t *arr, int n)
int parse_int32_t_array(char *s, int32_t *arr, int n)
int write_float_array(int fd, float *arr, int n)
int parse_int16_t_array(char *s, int16_t *arr, int n)
int write_double_array(int fd, double *arr, int n)
int write_string(int fd, char *arr, int n)
int write_section_header(int fd)
int write_uint64_t_array(int fd, uint64_t *arr, int n)
int write_uint32_t_array(int fd, uint32_t *arr, int n)
int parse_string(char *s, char *arr, int n)
int write_int16_t_array(int fd, int16_t *arr, int n)
int parse_uint16_t_array(char *s, uint16_t *arr, int n)
int write_int8_t_array(int fd, int8_t *arr, int n)
int write_int64_t_array(int fd, int64_t *arr, int n)
int write_uint8_t_array(int fd, uint8_t *arr, int n)
void output_to_data(int fd, void *vdata)
void input_to_data(int fd, void *vdata)
int check_data(void *vdata, void *vref)
int parse_double_array(char *s, double *arr, int n)
int parse_uint8_t_array(char *s, uint8_t *arr, int n)
int parse_float_array(char *s, float *arr, int n)
int parse_int8_t_array(char *s, int8_t *arr, int n)
int parse_int64_t_array(char *s, int64_t *arr, int n)