Skip to content
Snippets Groups Projects
Commit 75b58e77 authored by Andre Vieira's avatar Andre Vieira
Browse files

arm: Fix sign of MVE predicate mve_pred16_t [PR 107674]

The ACLE defines mve_pred16_t as an unsigned short.  This patch makes sure GCC
treats the predicate as an unsigned type, rather than signed.

gcc/ChangeLog:

	PR target/107674
	* config/arm/arm-builtins.cc (arm_simd_builtin_type): Rewrite to use
	new qualifiers parameter and use unsigned short type for MVE predicate.
	(arm_init_builtin): Call arm_simd_builtin_type with qualifiers
	parameter.
	(arm_init_crypto_builtins): Likewise.

gcc/testsuite/ChangeLog:

	PR target/107674
	* gcc.target/arm/mve/mve_vpt.c: New test.
parent d2423144
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment