summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-18 17:04:34 +0000
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-18 17:04:34 +0000
commit7f75491c92148bca65894e6a3acfae74e35c5e2a (patch)
treeaf4a5754b93e5cc4b34232d35ea5ecd86f57dae8 /gcc
parent822a35498edd41488654b7a343130154aeb657cc (diff)
downloadgcc-7f75491c92148bca65894e6a3acfae74e35c5e2a.tar.gz
* config/arm/neon-docgen.ml (analyze_shape_elt): Handle
Alternatives. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154301 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/neon-docgen.ml1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a71540dd55e..2b034e9ae90 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-18 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * config/arm/neon-docgen.ml (analyze_shape_elt): Handle
+ Alternatives.
+
2009-11-18 Paul Brook <paul@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
diff --git a/gcc/config/arm/neon-docgen.ml b/gcc/config/arm/neon-docgen.ml
index b4802fdd240..23e37b49809 100644
--- a/gcc/config/arm/neon-docgen.ml
+++ b/gcc/config/arm/neon-docgen.ml
@@ -214,6 +214,7 @@ let rec analyze_shape shape =
| Element_of_dreg -> (analyze_shape_elt reg_no Dreg) ^ "[@var{0}]"
| Element_of_qreg -> (analyze_shape_elt reg_no Qreg) ^ "[@var{0}]"
| All_elements_of_dreg -> (analyze_shape_elt reg_no Dreg) ^ "[]"
+ | Alternatives alts -> (analyze_shape_elt reg_no (List.hd alts))
in
match shape with
All (n, elt) -> commas (analyze_shape_elt 0) (n_things n elt) ""