1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.3'

* PHP-8.3:
  Cast the parameter type of arm BLOCKCONV_LOAD (#14159)
This commit is contained in:
Saki Takamachi
2024-05-07 19:44:32 +09:00

View File

@@ -122,7 +122,7 @@ static _locale_t current_locale = NULL;
#define BLOCKCONV_LOAD(input) \
int8x16_t blconv_operand = vld1q_s8((const int8_t*)(input)); \
uint8x16_t blconv_mask = vcltq_s8(vaddq_s8(blconv_operand, blconv_offset), blconv_threshold);
uint8x16_t blconv_mask = vcltq_s8(vreinterpretq_s8_u8(vaddq_u8(vreinterpretq_u8_s8(blconv_operand), vreinterpretq_u8_s8(blconv_offset))), blconv_threshold);
#define BLOCKCONV_FOUND() vmaxvq_u8(blconv_mask)