Skip to content
Snippets Groups Projects
Commit 10c52b38 authored by Stefan Schulze Frielinghaus's avatar Stefan Schulze Frielinghaus
Browse files

s390: Vector shift: Add 128-bit integer support

Add 128-bit vector shift support.  Deprecate vector shift by byte
builtins where the shift amount is not of type unsigned character.

gcc/ChangeLog:

	* config/s390/s390-builtins.def: Add 128-bit variants.
	* config/s390/s390-builtin-types.def: Update accordingly.
	* config/s390/vector.md (<vec_shifts_name><mode>3): Add 128-bit
	variants.
	* config/s390/vx-builtins.md: Ditto.

gcc/testsuite/ChangeLog:

	* gcc.target/s390/vector/vec-shift-10.c: New test.
	* gcc.target/s390/vector/vec-shift-11.c: New test.
	* gcc.target/s390/vector/vec-shift-12.c: New test.
	* gcc.target/s390/vector/vec-shift-3.c: New test.
	* gcc.target/s390/vector/vec-shift-4.c: New test.
	* gcc.target/s390/vector/vec-shift-5.c: New test.
	* gcc.target/s390/vector/vec-shift-6.c: New test.
	* gcc.target/s390/vector/vec-shift-7.c: New test.
	* gcc.target/s390/vector/vec-shift-8.c: New test.
	* gcc.target/s390/vector/vec-shift-9.c: New test.
parent ec226016
No related branches found
No related tags found
Loading
Showing
with 570 additions and 102 deletions
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