File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ and this project adheres to [Semantic Versioning].
13
13
[ #287 ] ( https://github.com/chfast/intx/pull/287 )
14
14
[ #290 ] ( https://github.com/chfast/intx/pull/290 )
15
15
16
+ ## [ 0.9.3] — 2023-07-17
17
+
18
+ ### Fixed
19
+
20
+ - Fixed buggy ` __builtin_subcll ` in Xcode 14.3.1 on arm64.
21
+ [ 294] ( https://github.com/chfast/intx/pull/294 )
22
+
16
23
## [ 0.9.2] — 2023-03-11
17
24
18
25
### Changed
@@ -188,6 +195,7 @@ and this project adheres to [Semantic Versioning].
188
195
189
196
190
197
[ 0.10.0 ] : https://github.com/chfast/intx/releases/v0.10.0
198
+ [ 0.9.3 ] : https://github.com/chfast/intx/releases/v0.9.3
191
199
[ 0.9.2 ] : https://github.com/chfast/intx/releases/v0.9.2
192
200
[ 0.9.1 ] : https://github.com/chfast/intx/releases/v0.9.1
193
201
[ 0.9.0 ] : https://github.com/chfast/intx/releases/v0.9.0
Original file line number Diff line number Diff line change @@ -185,7 +185,8 @@ inline constexpr result_with_carry<uint64_t> addc(
185
185
inline constexpr result_with_carry<uint64_t > subc (
186
186
uint64_t x, uint64_t y, bool carry = false ) noexcept
187
187
{
188
- #if __has_builtin(__builtin_subcll)
188
+ // Use __builtin_subcll if available (except buggy Xcode 14.3.1 on arm64).
189
+ #if __has_builtin(__builtin_subcll) && __apple_build_version__ != 14030022
189
190
if (!std::is_constant_evaluated ())
190
191
{
191
192
unsigned long long carryout = 0 ; // NOLINT(google-runtime-int)
You can’t perform that action at this time.
0 commit comments