diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-05-31 16:24:27 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-05-31 16:24:27 (GMT) |
commit | 48b4166d1f2931fa7f311b6ec1c77153052e63a0 (patch) | |
tree | ae00744c32653ac8196b51f7060d00283071cf4f /tools/d2c/args | |
parent | c492a5c94cc20210bce8069db7235cbb7dd691e9 (diff) |
Handled lists of simples ARMv7 SIMD registers.
Diffstat (limited to 'tools/d2c/args')
-rw-r--r-- | tools/d2c/args/manager.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/d2c/args/manager.c b/tools/d2c/args/manager.c index eca3bab..8706694 100644 --- a/tools/d2c/args/manager.c +++ b/tools/d2c/args/manager.c @@ -1030,6 +1030,9 @@ bool define_arg_expr(const arg_expr_t *expr, int fd, const coding_bits *bits, co result = compute_arg_expr_size(expr, bits, list, &max_size); + if (result && expr->comp_count > 1) + dprintf(fd, "("); + for (i = 0; i < expr->comp_count && result; i++) { cname = expr->comp_items[i]; @@ -1082,6 +1085,9 @@ bool define_arg_expr(const arg_expr_t *expr, int fd, const coding_bits *bits, co } + if (result && expr->comp_count > 1) + dprintf(fd, ")"); + break; case CET_UNARY: |