Changeset 689d057
- Timestamp:
- Jan 12, 2025, 10:26:28 PM (3 months ago)
- Branches:
- master
- Children:
- 3ea1d93, 5a79dae3
- Parents:
- 445b281
- Location:
- src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/AST/BasicKind.hpp ¶
r445b281 r689d057 50 50 Float64xComplex, 51 51 Float80, 52 LongDouble, 53 LongDoubleComplex, 54 uuFloat128, 52 55 Float128, 53 56 Float128Complex, 54 uuFloat128,55 LongDouble,56 LongDoubleComplex,57 57 Float128x, 58 58 Float128xComplex, -
TabularUnified src/AST/Type.cpp ¶
r445b281 r689d057 81 81 "_Float64x _Complex", 82 82 "__float80", 83 "long double", 84 "long double _Complex", 85 "__float128", 83 86 "_Float128", 84 87 "_Float128 _Complex", 85 "__float128",86 "long double",87 "long double _Complex",88 88 "_Float128x", 89 89 "_Float128x _Complex", -
TabularUnified src/ResolvExpr/CommonType.cpp ¶
r445b281 r689d057 46 46 __ID __UID _FH _FHC _F _FC 47 47 F FC _FX _FXC _FD _FDC 48 D DC _FDX _FDXC _F80 _FLD49 _FLDC __FLD LDLDC _FLDX _FLDXC48 D DC _FDX _FDXC _F80 LD 49 LDC __FLD _FLD _FLDC _FLDX _FLDXC 50 50 */ 51 51 { … … 54 54 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 55 55 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 56 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,57 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,56 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 57 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 58 58 }, 59 59 { … … 62 62 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 63 63 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 64 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,65 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,64 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 65 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 66 66 }, 67 67 { … … 70 70 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 71 71 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 72 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,73 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,72 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 73 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 74 74 }, 75 75 { … … 78 78 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 79 79 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 80 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,81 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,80 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 81 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 82 82 }, 83 83 { … … 86 86 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 87 87 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 88 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,89 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,88 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 89 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 90 90 }, 91 91 { … … 94 94 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 95 95 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 96 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,97 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,96 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 97 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 98 98 }, 99 99 { … … 102 102 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 103 103 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 104 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,105 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,104 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 105 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 106 106 }, 107 107 { … … 110 110 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 111 111 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 112 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,113 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,112 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 113 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 114 114 }, 115 115 { … … 118 118 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 119 119 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 120 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,121 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,120 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 121 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 122 122 }, 123 123 { … … 126 126 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 127 127 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 128 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,129 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,128 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 129 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 130 130 }, 131 131 { … … 134 134 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 135 135 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 136 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,137 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,136 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 137 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 138 138 }, 139 139 { … … 142 142 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 143 143 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 144 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,145 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,144 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 145 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 146 146 }, 147 147 { … … 150 150 BT SignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 151 151 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 152 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,153 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,152 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 153 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 154 154 }, 155 155 { … … 158 158 BT UnsignedInt128, BT UnsignedInt128, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 159 159 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 160 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,161 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,160 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 161 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 162 162 }, 163 163 { … … 166 166 BT Float16, BT Float16, BT Float16, BT Float16Complex, BT Float32, BT Float32Complex, 167 167 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 168 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,169 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,168 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 169 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 170 170 }, 171 171 { … … 174 174 BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float16Complex, BT Float32Complex, BT Float32Complex, 175 175 BT FloatComplex, BT FloatComplex, BT Float32xComplex, BT Float32xComplex, BT Float64Complex, BT Float64Complex, 176 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float128Complex,177 BT Float128Complex, BT Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT Float128xComplex, BT Float128xComplex,176 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT LongDoubleComplex, BT LongDoubleComplex, 177 BT LongDoubleComplex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128xComplex, BT Float128xComplex, 178 178 }, 179 179 { … … 182 182 BT Float32, BT Float32, BT Float32, BT Float32Complex, BT Float32, BT Float32Complex, 183 183 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 184 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,185 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,184 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 185 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 186 186 }, 187 187 { … … 190 190 BT Float32Complex, BT Float32Complex, BT Float32Complex, BT Float32Complex, BT Float32Complex, BT Float32Complex, 191 191 BT FloatComplex, BT FloatComplex, BT Float32xComplex, BT Float32xComplex, BT Float64Complex, BT Float64Complex, 192 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float128Complex,193 BT Float128Complex, BT Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT Float128xComplex, BT Float128xComplex,192 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT LongDoubleComplex, BT LongDoubleComplex, 193 BT LongDoubleComplex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128xComplex, BT Float128xComplex, 194 194 }, 195 195 { … … 198 198 BT Float, BT Float, BT Float, BT FloatComplex, BT Float, BT FloatComplex, 199 199 BT Float, BT FloatComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 200 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,201 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,200 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 201 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 202 202 }, 203 203 { … … 206 206 BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, 207 207 BT FloatComplex, BT FloatComplex, BT Float32xComplex, BT Float32xComplex, BT Float64Complex, BT Float64Complex, 208 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float128Complex,209 BT Float128Complex, BT Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT Float128xComplex, BT Float128xComplex,208 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT LongDoubleComplex, BT LongDoubleComplex, 209 BT LongDoubleComplex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128xComplex, BT Float128xComplex, 210 210 }, 211 211 { … … 214 214 BT Float32x, BT Float32x, BT Float32x, BT Float32xComplex, BT Float32x, BT Float32xComplex, 215 215 BT Float32x, BT Float32xComplex, BT Float32x, BT Float32xComplex, BT Float64, BT Float64Complex, 216 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,217 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,216 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 217 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 218 218 }, 219 219 { … … 222 222 BT Float32xComplex, BT Float32xComplex, BT Float32xComplex, BT Float32xComplex, BT Float32xComplex, BT Float32xComplex, 223 223 BT Float32xComplex, BT Float32xComplex, BT Float32xComplex, BT Float32xComplex, BT Float64Complex, BT Float64Complex, 224 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float128Complex,225 BT Float128Complex, BT Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT Float128xComplex, BT Float128xComplex,224 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT LongDoubleComplex, BT LongDoubleComplex, 225 BT LongDoubleComplex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128xComplex, BT Float128xComplex, 226 226 }, 227 227 { … … 230 230 BT Float64, BT Float64, BT Float64, BT Float64Complex, BT Float64, BT Float64Complex, 231 231 BT Float64, BT Float64Complex, BT Float64, BT Float64Complex, BT Float64, BT Float64Complex, 232 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,233 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,232 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 233 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 234 234 }, 235 235 { … … 238 238 BT Float64Complex, BT Float64Complex, BT Float64Complex, BT Float64Complex, BT Float64Complex, BT Float64Complex, 239 239 BT Float64Complex, BT Float64Complex, BT Float64Complex, BT Float64Complex, BT Float64Complex, BT Float64Complex, 240 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float128Complex,241 BT Float128Complex, BT Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT Float128xComplex, BT Float128xComplex,240 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT LongDoubleComplex, BT LongDoubleComplex, 241 BT LongDoubleComplex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128xComplex, BT Float128xComplex, 242 242 }, 243 243 { … … 246 246 BT Double, BT Double, BT Double, BT DoubleComplex, BT Double, BT DoubleComplex, 247 247 BT Double, BT DoubleComplex, BT Double, BT DoubleComplex, BT Double, BT DoubleComplex, 248 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,249 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,248 BT Double, BT DoubleComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 249 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 250 250 }, 251 251 { … … 254 254 BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, 255 255 BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, 256 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float128Complex,257 BT Float128Complex, BT Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT Float128xComplex, BT Float128xComplex,256 BT DoubleComplex, BT DoubleComplex, BT Float64xComplex, BT Float64xComplex, BT LongDoubleComplex, BT LongDoubleComplex, 257 BT LongDoubleComplex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128xComplex, BT Float128xComplex, 258 258 }, 259 259 { … … 262 262 BT Float64x, BT Float64x, BT Float64x, BT Float64xComplex, BT Float64x, BT Float64xComplex, 263 263 BT Float64x, BT Float64xComplex, BT Float64x, BT Float64xComplex, BT Float64x, BT Float64xComplex, 264 BT Float64x, BT Float64xComplex, BT Float64x, BT Float64xComplex, BT Float80, BT Float128,265 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,264 BT Float64x, BT Float64xComplex, BT Float64x, BT Float64xComplex, BT Float80, BT LongDouble, 265 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 266 266 }, 267 267 { … … 270 270 BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, 271 271 BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, 272 BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float128Complex,273 BT Float128Complex, BT Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT Float128xComplex, BT Float128xComplex,272 BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT Float64xComplex, BT LongDoubleComplex, BT LongDoubleComplex, 273 BT LongDoubleComplex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128xComplex, BT Float128xComplex, 274 274 }, 275 275 { 276 276 /* _F80 */ BT Float80, BT Float80, BT Float80, BT Float80, BT Float80, BT Float80, 277 277 BT Float80, BT Float80, BT Float80, BT Float80, BT Float80, BT Float80, 278 BT Float80, BT Float80, BT Float80, BT Float64xComplex, BT Float80, BT Float64xComplex, 279 BT Float80, BT Float64xComplex, BT Float80, BT Float64xComplex, BT Float80, BT Float64xComplex, 280 BT Float80, BT Float64xComplex, BT Float80, BT Float64xComplex, BT Float80, BT Float128, 281 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex, 278 BT Float80, BT Float80, BT Float80, BT LongDoubleComplex, BT Float80, BT LongDoubleComplex, 279 BT Float80, BT LongDoubleComplex, BT Float80, BT LongDoubleComplex, BT Float80, BT LongDoubleComplex, 280 BT Float80, BT LongDoubleComplex, BT Float80, BT LongDoubleComplex, BT Float80, BT LongDouble, 281 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 282 }, 283 { 284 /* LD */ BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, 285 BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, 286 BT LongDouble, BT LongDouble, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, 287 BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, 288 BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDouble, 289 BT LongDoubleComplex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 290 }, 291 { 292 /* LDC */ BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 293 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 294 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 295 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 296 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 297 BT LongDoubleComplex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128xComplex, BT Float128xComplex, 298 }, 299 { 300 /* __FLD */ BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, 301 BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, 302 BT uuFloat128, BT uuFloat128, BT uuFloat128, BT Float128Complex, BT uuFloat128, BT Float128Complex, 303 BT uuFloat128, BT Float128Complex, BT uuFloat128, BT Float128Complex, BT uuFloat128, BT Float128Complex, 304 BT uuFloat128, BT Float128Complex, BT uuFloat128, BT Float128Complex, BT uuFloat128, BT uuFloat128, 305 BT Float128Complex, BT uuFloat128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 282 306 }, 283 307 { … … 287 311 BT Float128, BT Float128Complex, BT Float128, BT Float128Complex, BT Float128, BT Float128Complex, 288 312 BT Float128, BT Float128Complex, BT Float128, BT Float128Complex, BT Float128, BT Float128, 289 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex,313 BT Float128Complex, BT Float128, BT Float128, BT Float128Complex, BT Float128x, BT Float128xComplex, 290 314 }, 291 315 { … … 295 319 BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128Complex, 296 320 BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128Complex, 297 BT Float128Complex, BT Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT Float128xComplex, BT Float128xComplex, 298 }, 299 { 300 /* __FLD */ BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, 301 BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, 302 BT uuFloat128, BT uuFloat128, BT uuFloat128, BT Float128Complex, BT uuFloat128, BT Float128Complex, 303 BT uuFloat128, BT Float128Complex, BT uuFloat128, BT Float128Complex, BT uuFloat128, BT Float128Complex, 304 BT uuFloat128, BT Float128Complex, BT uuFloat128, BT Float128Complex, BT uuFloat128, BT uuFloat128, 305 BT Float128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex, 306 }, 307 { 308 /* LD */ BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, 309 BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, 310 BT LongDouble, BT LongDouble, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, 311 BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, 312 BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDouble, 313 BT LongDoubleComplex, BT LongDouble, BT LongDouble, BT LongDoubleComplex, BT Float128x, BT Float128xComplex, 314 }, 315 { 316 /* LDC */ BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 317 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 318 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 319 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 320 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 321 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT Float128xComplex, BT Float128xComplex, 321 BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128Complex, BT Float128xComplex, BT Float128xComplex, 322 322 }, 323 323 { -
TabularUnified src/ResolvExpr/ConversionCost.cpp ¶
r445b281 r689d057 52 52 _Float64x _Float64x _Complex 53 53 __float80 54 long double long double _Complex 55 __float128 54 56 _Float128 _Float128 _Complex 55 __float12856 long double long double _Complex57 57 _Float128x _Float128x _Complex 58 58 */ … … 62 62 // GENERATED BY BasicTypes-gen.cpp 63 63 static const int costMatrix[ast::BasicKind::NUMBER_OF_BASIC_TYPES][ast::BasicKind::NUMBER_OF_BASIC_TYPES] = { // path length from root to node 64 /* B C SC UC SI USI I UI LI ULI LLI ULLI __ID__UID _FH _FHC _F _FC F FC _FX _FXC _FD _FDC D DC _FDX_FDXC _F80 _FLD_FLDC__FLD LDLDC_FLDX_FLDXC */65 /* B */ { 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 1 6, 16, 17, 18, 18, 19, },66 /* C */ { -1, 0, 1, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 1 5, 15, 16, 17, 17, 18, },67 /* SC */ { -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 1 5, 15, 16, 17, 17, 18, },68 /* UC */ { -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 1 5, 15, 16, 17, 17, 18, },69 /* SI */ { -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 1 4, 14, 15, 16, 16, 17, },70 /* USI */ { -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 1 4, 14, 15, 16, 16, 17, },71 /* I */ { -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 1 3, 13, 14, 15, 15, 16, },72 /* UI */ { -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 1 3, 13, 14, 15, 15, 16, },73 /* LI */ { -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 1 2, 12, 13, 14, 14, 15, },74 /* ULI */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 1 2, 12, 13, 14, 14, 15, },75 /* LLI */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 1 1, 11, 12, 13, 13, 14, },76 /* ULLI */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 1 1, 11, 12, 13, 13, 14, },77 /* __ID */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 10, 10, 11, 12, 12, 13, },78 /* __UID */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 10, 10, 11, 12, 12, 13, },79 /* _FH */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9, 10, 11, 11, 12, },64 /* B C SC UC SI USI I UI LI ULI LLI ULLI __ID__UID _FH _FHC _F _FC F FC _FX _FXC _FD _FDC D DC _FDX_FDXC _F80 LD LDC__FLD _FLD_FLDC_FLDX_FLDXC */ 65 /* B */ { 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 17, 17, 18, 18, }, 66 /* C */ { -1, 0, 1, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 16, 16, 17, 17, }, 67 /* SC */ { -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 16, 16, 17, 17, }, 68 /* UC */ { -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 16, 16, 17, 17, }, 69 /* SI */ { -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 15, 15, 16, 16, }, 70 /* USI */ { -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 15, 15, 16, 16, }, 71 /* I */ { -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 14, 14, 15, 15, }, 72 /* UI */ { -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 14, 14, 15, 15, }, 73 /* LI */ { -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 13, 13, 14, 14, }, 74 /* ULI */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 13, 13, 14, 14, }, 75 /* LLI */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 12, 12, 13, 13, }, 76 /* ULLI */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 12, 12, 13, 13, }, 77 /* __ID */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 11, 11, 12, 12, }, 78 /* __UID */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 11, 11, 12, 12, }, 79 /* _FH */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 10, 10, 11, 11, }, 80 80 /* _FHC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 1, -1, 2, -1, 3, -1, 4, -1, 5, -1, 6, -1, -1, 8, -1, -1, 10, -1, 11, }, 81 /* _F */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 8, 8, 9, 10, 10, 11, },81 /* _F */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9, 10, 10, }, 82 82 /* _FC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 1, -1, 2, -1, 3, -1, 4, -1, 5, -1, -1, 7, -1, -1, 9, -1, 10, }, 83 /* F */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 9, 9, 10, },83 /* F */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9, }, 84 84 /* FC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 1, -1, 2, -1, 3, -1, 4, -1, -1, 6, -1, -1, 8, -1, 9, }, 85 /* _FX */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 8, 8, 9, },85 /* _FX */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 7, 7, 8, 8, }, 86 86 /* _FXC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 1, -1, 2, -1, 3, -1, -1, 5, -1, -1, 7, -1, 8, }, 87 /* _FD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, },87 /* _FD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 6, 6, 7, 7, }, 88 88 /* _FDC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 1, -1, 2, -1, -1, 4, -1, -1, 6, -1, 7, }, 89 /* D */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 4, 4, 5, 6, 6, 7, },89 /* D */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, 4, 5, 5, 6, 6, }, 90 90 /* DC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 1, -1, -1, 3, -1, -1, 5, -1, 6, }, 91 /* _FDX */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 3, 3, 4, 5, 5, 6, },91 /* _FDX */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 4, 4, 5, 5, }, 92 92 /* _FDXC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 2, -1, -1, 4, -1, 5, }, 93 /* _F80 */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 0, 1, 2, 2, 3, 4, 4, 5, },94 /* _FLD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 3, 3, 4, },95 /* _FLDC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 2, -1, 3, },96 /* __FLD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1, 0, 1, 2, 2, 3, },97 /* 98 /* 93 /* _F80 */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 3, 3, 4, 4, }, 94 /* LD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, 3, 3, }, 95 /* LDC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 2, -1, 3, }, 96 /* __FLD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, 2, }, 97 /* _FLD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 2, }, 98 /* _FLDC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 1, }, 99 99 /* _FLDX */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, }, 100 100 /* _FLDXC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, }, 101 101 }; // costMatrix 102 static const int maxIntCost = 1 6;102 static const int maxIntCost = 15; 103 103 // GENERATED END 104 104 static_assert( … … 110 110 // GENERATED BY BasicTypes-gen.cpp 111 111 static const int signMatrix[ast::BasicKind::NUMBER_OF_BASIC_TYPES][ast::BasicKind::NUMBER_OF_BASIC_TYPES] = { // number of sign changes in safe conversion 112 /* B C SC UC SI USI I UI LI ULI LLI ULLI __ID__UID _FH _FHC _F _FC F FC _FX _FXC _FD _FDC D DC _FDX_FDXC _F80 _FLD_FLDC__FLD LDLDC_FLDX_FLDXC */112 /* B C SC UC SI USI I UI LI ULI LLI ULLI __ID__UID _FH _FHC _F _FC F FC _FX _FXC _FD _FDC D DC _FDX_FDXC _F80 LD LDC__FLD _FLD_FLDC_FLDX_FLDXC */ 113 113 /* B */ { 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, 114 114 /* C */ { -1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, … … 139 139 /* _FDX */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, 140 140 /* _FDXC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 0, -1, -1, 0, -1, 0, }, 141 /* _F80 */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, },142 /* _FLD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, },143 /* _FLDC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 0, -1, 0, },144 /* __FLD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, },145 /* 146 /* 141 /* _F80 */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, }, 142 /* LD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, }, 143 /* LDC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, -1, 0, -1, 0, }, 144 /* __FLD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, }, 145 /* _FLD */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, }, 146 /* _FLDC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, -1, 0, }, 147 147 /* _FLDX */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, }, 148 148 /* _FLDXC */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, }, -
TabularUnified src/SymTab/ManglerCommon.cpp ¶
r445b281 r689d057 71 71 "CDF64x_", // _Float64x _Complex 72 72 "Dq", // __float80 73 "e", // long double 74 "Ce", // long double _Complex 75 "g", // __float128 73 76 "DF128_", // _Float128 74 77 "CDF128_", // _Float128 _Complex 75 "g", // __float12876 "e", // long double77 "Ce", // long double _Complex78 78 "DF128x_", // _Float128x 79 79 "CDF128x_", // _Float128x _Complex
Note: See TracChangeset
for help on using the changeset viewer.