Lines Matching refs:str

24 #define CASE_OP(name, str) \
26 return str;
27 #define CASE_I32_OP(name, str) CASE_OP(I32##name, "i32." str)
28 #define CASE_I64_OP(name, str) CASE_OP(I64##name, "i64." str)
29 #define CASE_F32_OP(name, str) CASE_OP(F32##name, "f32." str)
30 #define CASE_F64_OP(name, str) CASE_OP(F64##name, "f64." str)
31 #define CASE_REF_OP(name, str) CASE_OP(Ref##name, "ref." str)
32 #define CASE_F64x2_OP(name, str) CASE_OP(F64x2##name, "f64x2." str)
33 #define CASE_F32x4_OP(name, str) CASE_OP(F32x4##name, "f32x4." str)
34 #define CASE_I64x2_OP(name, str) CASE_OP(I64x2##name, "i64x2." str)
35 #define CASE_I32x4_OP(name, str) CASE_OP(I32x4##name, "i32x4." str)
36 #define CASE_I16x8_OP(name, str) CASE_OP(I16x8##name, "i16x8." str)
37 #define CASE_I8x16_OP(name, str) CASE_OP(I8x16##name, "i8x16." str)
38 #define CASE_S128_OP(name, str) CASE_OP(S128##name, "s128." str)
39 #define CASE_V128_OP(name, str) CASE_OP(V128##name, "v128." str)
40 #define CASE_S64x2_OP(name, str) CASE_OP(S64x2##name, "s64x2." str)
41 #define CASE_S32x4_OP(name, str) CASE_OP(S32x4##name, "s32x4." str)
42 #define CASE_S16x8_OP(name, str) CASE_OP(S16x8##name, "s16x8." str)
43 #define CASE_V64x2_OP(name, str) CASE_OP(V64x2##name, "v64x2." str)
44 #define CASE_V32x4_OP(name, str) CASE_OP(V32x4##name, "v32x4." str)
45 #define CASE_V16x8_OP(name, str) CASE_OP(V16x8##name, "v16x8." str)
46 #define CASE_V8x16_OP(name, str) CASE_OP(V8x16##name, "v8x16." str)
47 #define CASE_INT_OP(name, str) CASE_I32_OP(name, str) CASE_I64_OP(name, str)
48 #define CASE_FLOAT_OP(name, str) CASE_F32_OP(name, str) CASE_F64_OP(name, str)
49 #define CASE_ALL_OP(name, str) CASE_FLOAT_OP(name, str) CASE_INT_OP(name, str)
50 #define CASE_SIMD_OP(name, str) \
51 CASE_F64x2_OP(name, str) CASE_I64x2_OP(name, str) CASE_F32x4_OP(name, str) \
52 CASE_I32x4_OP(name, str) CASE_I16x8_OP(name, str) \
53 CASE_I8x16_OP(name, str)
54 #define CASE_SIMDF_OP(name, str) \
55 CASE_F32x4_OP(name, str) CASE_F64x2_OP(name, str)
56 #define CASE_SIMDI_OP(name, str) \
57 CASE_I64x2_OP(name, str) CASE_I32x4_OP(name, str) CASE_I16x8_OP(name, str) \
58 CASE_I8x16_OP(name, str)
59 #define CASE_SIMDI_NO64X2_OP(name, str) \
60 CASE_I32x4_OP(name, str) CASE_I16x8_OP(name, str) CASE_I8x16_OP(name, str)
61 #define CASE_SIGN_OP(TYPE, name, str) \
62 CASE_##TYPE##_OP(name##S, str "_s") CASE_##TYPE##_OP(name##U, str "_u")
63 #define CASE_UNSIGNED_OP(TYPE, name, str) CASE_##TYPE##_OP(name##U, str "_u")
64 #define CASE_ALL_SIGN_OP(name, str) \
65 CASE_FLOAT_OP(name, str) CASE_SIGN_OP(INT, name, str)
66 #define CASE_CONVERT_OP(name, RES, SRC, src_suffix, str) \
67 CASE_##RES##_OP(U##name##SRC, str "_" src_suffix "_u") \
68 CASE_##RES##_OP(S##name##SRC, str "_" src_suffix "_s")
69 #define CASE_CONVERT_SAT_OP(name, RES, SRC, src_suffix, str) \
70 CASE_##RES##_OP(U##name##Sat##SRC, str "_sat_" src_suffix "_u") \
71 CASE_##RES##_OP(S##name##Sat##SRC, str "_sat_" src_suffix "_s")
72 #define CASE_L32_OP(name, str) \
73 CASE_SIGN_OP(I32, name##8, str "8") \
74 CASE_SIGN_OP(I32, name##16, str "16") \
75 CASE_I32_OP(name, str "32")
76 #define CASE_U32_OP(name, str) \
77 CASE_I32_OP(name, str "32") \
78 CASE_UNSIGNED_OP(I32, name##8, str "8") \
79 CASE_UNSIGNED_OP(I32, name##16, str "16")
80 #define CASE_UNSIGNED_ALL_OP(name, str) \
81 CASE_U32_OP(name, str) \
82 CASE_I64_OP(name, str "64") \
83 CASE_UNSIGNED_OP(I64, name##8, str "8") \
84 CASE_UNSIGNED_OP(I64, name##16, str "16") \
85 CASE_UNSIGNED_OP(I64, name##32, str "32")