aarch64: Handle V4BF V8BF modes in vwcore attribute
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 26 Apr 2021 11:01:33 +0000 (12:01 +0100)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 26 Apr 2021 11:01:33 +0000 (12:01 +0100)
While playing with other unrelated changes I hit an assemble-failure bug where
a pattern (one of the get_lane ones) that was using V4BF, V8BF as part of a
mode iterator and outputting registers with the vwcore attribute,
but there is no vwcore mapping for V4BF and V8BF.

This patch fixes that in the obvious way by adding the missing mappings

Bootstrapped and tested on aarch64-none-linux-gnu.

gcc/ChangeLog:

* config/aarch64/iterators.md (vwcore): Handle V4BF, V8BF.

gcc/config/aarch64/iterators.md

index cac33ae..a3d895a 100644 (file)
                          (V2SI "w") (V4SI "w")
                          (DI   "x") (V2DI "x")
                          (V4HF "w") (V8HF "w")
+                         (V4BF "w") (V8BF "w")
                          (V2SF "w") (V4SF "w")
                          (V2DF "x")
                          (VNx16QI "w") (VNx8QI "w") (VNx4QI "w") (VNx2QI "w")