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
commit 90c5b2a43b
No known key found for this signature in database
GPG Key ID: E4A36F6D37931A8B

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)