From 428e3f1f4e7539e2706c12f2f2880c42a7948a92 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Tue, 5 Sep 2006 14:07:22 +0000 Subject: 2006-09-04 Paul Brook gas/ * config/tc-arm.c (do_neon_dyadic_if_i): Remove. (do_neon_dyadic_if_i_d): Avoid setting U bit. (do_neon_mac_maybe_scalar): Ditto. (do_neon_dyadic_narrow): Force operand type to NT_integer. (insns): Remove out of date comments. gas/testsuite/ * gas/arm/neon-cov.s: Test .u and .s aliases for .i suffixes. * gas/arm/neon-cov.d: Adjust expected output. opcodes/ * arm-dis.c (neon_opcode): Fix suffix on VMOVN. --- gas/ChangeLog | 8 +++ gas/config/tc-arm.c | 22 +++---- gas/testsuite/ChangeLog | 5 ++ gas/testsuite/gas/arm/neon-cov.d | 122 ++++++++++++++++++++++++++++++++++++++- gas/testsuite/gas/arm/neon-cov.s | 34 +++++++++++ 5 files changed, 178 insertions(+), 13 deletions(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index be367b2..b5d5793 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +2006-09-04 Paul Brook + + * config/tc-arm.c (do_neon_dyadic_if_i): Remove. + (do_neon_dyadic_if_i_d): Avoid setting U bit. + (do_neon_mac_maybe_scalar): Ditto. + (do_neon_dyadic_narrow): Force operand type to NT_integer. + (insns): Remove out of date comments. + 2006-08-29 Nick Clifton * read.c (s_align): Initialize the 'stopc' variable to prevent diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 63aa32e..06dba43 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -11618,15 +11618,11 @@ do_neon_dyadic_if_su_d (void) } static void -do_neon_dyadic_if_i (void) -{ - neon_dyadic_misc (NT_unsigned, N_IF_32, 0); -} - -static void do_neon_dyadic_if_i_d (void) { - neon_dyadic_misc (NT_unsigned, N_IF_32, 0); + /* The "untyped" case can't happen. Do this to stop the "U" bit being + affected if we specify unsigned args. */ + neon_dyadic_misc (NT_untyped, N_IF_32, 0); } enum vfp_or_neon_is_neon_bits @@ -11841,7 +11837,11 @@ do_neon_mac_maybe_scalar (void) neon_mul_mac (et, neon_quad (rs)); } else - do_neon_dyadic_if_i (); + { + /* The "untyped" case can't happen. Do this to stop the "U" bit being + affected if we specify unsigned args. */ + neon_dyadic_misc (NT_untyped, N_IF_32, 0); + } } static void @@ -12492,6 +12492,9 @@ do_neon_dyadic_narrow (void) { struct neon_type_el et = neon_check_type (3, NS_QDD, N_EQK | N_DBL, N_EQK, N_I16 | N_I32 | N_I64 | N_KEY); + /* Operand sign is unimportant, and the U bit is part of the opcode, + so force the operand type to integer. */ + et.type = NT_integer; neon_mixed_length (et, et.size / 2); } @@ -15533,14 +15536,13 @@ static const struct asm_opcode insns[] = nUF(vcltq, vclt, 3, (RNQ, oRNQ, RNDQ_I0), neon_cmp_inv), nUF(vcle, vcle, 3, (RNDQ, oRNDQ, RNDQ_I0), neon_cmp_inv), nUF(vcleq, vcle, 3, (RNQ, oRNQ, RNDQ_I0), neon_cmp_inv), - /* Comparison. Type I8 I16 I32 F32. Non-immediate -> neon_dyadic_if_i. */ + /* Comparison. Type I8 I16 I32 F32. */ nUF(vceq, vceq, 3, (RNDQ, oRNDQ, RNDQ_I0), neon_ceq), nUF(vceqq, vceq, 3, (RNQ, oRNQ, RNDQ_I0), neon_ceq), /* As above, D registers only. */ nUF(vpmax, vpmax, 3, (RND, oRND, RND), neon_dyadic_if_su_d), nUF(vpmin, vpmin, 3, (RND, oRND, RND), neon_dyadic_if_su_d), /* Int and float variants, signedness unimportant. */ - /* If not scalar, fall back to neon_dyadic_if_i. */ nUF(vmlaq, vmla, 3, (RNQ, oRNQ, RNDQ_RNSC), neon_mac_maybe_scalar), nUF(vmlsq, vmls, 3, (RNQ, oRNQ, RNDQ_RNSC), neon_mac_maybe_scalar), nUF(vpadd, vpadd, 3, (RND, oRND, RND), neon_dyadic_if_i_d), diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d4bd44b..dd918ab 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-09-04 Paul Brook + + * gas/arm/neon-cov.s: Test .u and .s aliases for .i suffixes. + * gas/arm/neon-cov.d: Adjust expected output. + 2006-08-21 Joseph Myers * gas/arm/unwind.s: Test not merging iWMMXt register save with diff --git a/gas/testsuite/gas/arm/neon-cov.d b/gas/testsuite/gas/arm/neon-cov.d index d4de661..ca695d8 100644 --- a/gas/testsuite/gas/arm/neon-cov.d +++ b/gas/testsuite/gas/arm/neon-cov.d @@ -230,6 +230,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f2a00550 vshl\.s32 q0, q0, #0 0[0-9a-f]+ <[^>]+> f2a00550 vshl\.s32 q0, q0, #0 0[0-9a-f]+ <[^>]+> f2a00510 vshl\.s32 d0, d0, #0 +0[0-9a-f]+ <[^>]+> f2a00550 vshl\.s32 q0, q0, #0 +0[0-9a-f]+ <[^>]+> f2a00550 vshl\.s32 q0, q0, #0 +0[0-9a-f]+ <[^>]+> f2a00510 vshl\.s32 d0, d0, #0 +0[0-9a-f]+ <[^>]+> f2a00550 vshl\.s32 q0, q0, #0 +0[0-9a-f]+ <[^>]+> f2a00550 vshl\.s32 q0, q0, #0 +0[0-9a-f]+ <[^>]+> f2a00510 vshl\.s32 d0, d0, #0 0[0-9a-f]+ <[^>]+> f28005d0 vshl\.s64 q0, q0, #0 0[0-9a-f]+ <[^>]+> f28005d0 vshl\.s64 q0, q0, #0 0[0-9a-f]+ <[^>]+> f2800590 vshl\.s64 d0, d0, #0 @@ -275,6 +281,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387013f vbic\.i32 d0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387013f vbic\.i32 d0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387013f vbic\.i32 d0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387037f vbic\.i32 q0, #65280 ; 0x0000ff00 0[0-9a-f]+ <[^>]+> f387037f vbic\.i32 q0, #65280 ; 0x0000ff00 0[0-9a-f]+ <[^>]+> f387033f vbic\.i32 d0, #65280 ; 0x0000ff00 @@ -293,6 +305,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387011f vorr\.i32 d0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387011f vorr\.i32 d0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387011f vorr\.i32 d0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387035f vorr\.i32 q0, #65280 ; 0x0000ff00 0[0-9a-f]+ <[^>]+> f387035f vorr\.i32 q0, #65280 ; 0x0000ff00 0[0-9a-f]+ <[^>]+> f387031f vorr\.i32 d0, #65280 ; 0x0000ff00 @@ -311,6 +329,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387013f vbic\.i32 d0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387013f vbic\.i32 d0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387017f vbic\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387013f vbic\.i32 d0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387037f vbic\.i32 q0, #65280 ; 0x0000ff00 0[0-9a-f]+ <[^>]+> f387037f vbic\.i32 q0, #65280 ; 0x0000ff00 0[0-9a-f]+ <[^>]+> f387033f vbic\.i32 d0, #65280 ; 0x0000ff00 @@ -329,6 +353,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387011f vorr\.i32 d0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387011f vorr\.i32 d0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387015f vorr\.i32 q0, #255 ; 0x000000ff +0[0-9a-f]+ <[^>]+> f387011f vorr\.i32 d0, #255 ; 0x000000ff 0[0-9a-f]+ <[^>]+> f387035f vorr\.i32 q0, #65280 ; 0x0000ff00 0[0-9a-f]+ <[^>]+> f387035f vorr\.i32 q0, #65280 ; 0x0000ff00 0[0-9a-f]+ <[^>]+> f387031f vorr\.i32 d0, #65280 ; 0x0000ff00 @@ -509,6 +539,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3200850 vceq\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f3200850 vceq\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f3200810 vceq\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f3200850 vceq\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200850 vceq\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200810 vceq\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f3200850 vceq\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200850 vceq\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200810 vceq\.i32 d0, d0, d0 0[0-9a-f]+ <[^>]+> f2000e40 vceq\.f32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2000e40 vceq\.f32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2000e00 vceq\.f32 d0, d0, d0 @@ -569,6 +605,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3b90140 vceq\.i32 q0, q0, #0 0[0-9a-f]+ <[^>]+> f3b90140 vceq\.i32 q0, q0, #0 0[0-9a-f]+ <[^>]+> f3b90100 vceq\.i32 d0, d0, #0 +0[0-9a-f]+ <[^>]+> f3b90140 vceq\.i32 q0, q0, #0 +0[0-9a-f]+ <[^>]+> f3b90140 vceq\.i32 q0, q0, #0 +0[0-9a-f]+ <[^>]+> f3b90100 vceq\.i32 d0, d0, #0 +0[0-9a-f]+ <[^>]+> f3b90140 vceq\.i32 q0, q0, #0 +0[0-9a-f]+ <[^>]+> f3b90140 vceq\.i32 q0, q0, #0 +0[0-9a-f]+ <[^>]+> f3b90100 vceq\.i32 d0, d0, #0 0[0-9a-f]+ <[^>]+> f3b90540 vceq\.f32 q0, q0, #0 0[0-9a-f]+ <[^>]+> f3b90540 vceq\.f32 q0, q0, #0 0[0-9a-f]+ <[^>]+> f3b90500 vceq\.f32 d0, d0, #0 @@ -595,6 +637,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f2200940 vmla\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2200940 vmla\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2200900 vmla\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f2200940 vmla\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200940 vmla\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200900 vmla\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f2200940 vmla\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200940 vmla\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200900 vmla\.i32 d0, d0, d0 0[0-9a-f]+ <[^>]+> f2000d50 vmla\.f32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2000d50 vmla\.f32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2000d10 vmla\.f32 d0, d0, d0 @@ -604,6 +652,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3a00040 vmla\.i32 q0, q0, d0\[0\] 0[0-9a-f]+ <[^>]+> f3a00040 vmla\.i32 q0, q0, d0\[0\] 0[0-9a-f]+ <[^>]+> f2a00040 vmla\.i32 d0, d0, d0\[0\] +0[0-9a-f]+ <[^>]+> f3a00040 vmla\.i32 q0, q0, d0\[0\] +0[0-9a-f]+ <[^>]+> f3a00040 vmla\.i32 q0, q0, d0\[0\] +0[0-9a-f]+ <[^>]+> f2a00040 vmla\.i32 d0, d0, d0\[0\] +0[0-9a-f]+ <[^>]+> f3a00040 vmla\.i32 q0, q0, d0\[0\] +0[0-9a-f]+ <[^>]+> f3a00040 vmla\.i32 q0, q0, d0\[0\] +0[0-9a-f]+ <[^>]+> f2a00040 vmla\.i32 d0, d0, d0\[0\] 0[0-9a-f]+ <[^>]+> f3a00140 vmla\.f32 q0, q0, d0\[0\] 0[0-9a-f]+ <[^>]+> f3a00140 vmla\.f32 q0, q0, d0\[0\] 0[0-9a-f]+ <[^>]+> f2a00140 vmla\.f32 d0, d0, d0\[0\] @@ -616,6 +670,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3200940 vmls\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f3200940 vmls\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f3200900 vmls\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f3200940 vmls\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200940 vmls\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200900 vmls\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f3200940 vmls\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200940 vmls\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200900 vmls\.i32 d0, d0, d0 0[0-9a-f]+ <[^>]+> f2200d50 vmls\.f32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2200d50 vmls\.f32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2200d10 vmls\.f32 d0, d0, d0 @@ -625,12 +685,20 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3a00440 vmls\.i32 q0, q0, d0\[0\] 0[0-9a-f]+ <[^>]+> f3a00440 vmls\.i32 q0, q0, d0\[0\] 0[0-9a-f]+ <[^>]+> f2a00440 vmls\.i32 d0, d0, d0\[0\] +0[0-9a-f]+ <[^>]+> f3a00440 vmls\.i32 q0, q0, d0\[0\] +0[0-9a-f]+ <[^>]+> f3a00440 vmls\.i32 q0, q0, d0\[0\] +0[0-9a-f]+ <[^>]+> f2a00440 vmls\.i32 d0, d0, d0\[0\] +0[0-9a-f]+ <[^>]+> f3a00440 vmls\.i32 q0, q0, d0\[0\] +0[0-9a-f]+ <[^>]+> f3a00440 vmls\.i32 q0, q0, d0\[0\] +0[0-9a-f]+ <[^>]+> f2a00440 vmls\.i32 d0, d0, d0\[0\] 0[0-9a-f]+ <[^>]+> f3a00540 vmls\.f32 q0, q0, d0\[0\] 0[0-9a-f]+ <[^>]+> f3a00540 vmls\.f32 q0, q0, d0\[0\] 0[0-9a-f]+ <[^>]+> f2a00540 vmls\.f32 d0, d0, d0\[0\] 0[0-9a-f]+ <[^>]+> f2000b10 vpadd\.i8 d0, d0, d0 0[0-9a-f]+ <[^>]+> f2100b10 vpadd\.i16 d0, d0, d0 0[0-9a-f]+ <[^>]+> f2200b10 vpadd\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f2200b10 vpadd\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f2200b10 vpadd\.i32 d0, d0, d0 0[0-9a-f]+ <[^>]+> f3000d00 vpadd\.f32 d0, d0, d0 0[0-9a-f]+ <[^>]+> f2000840 vadd\.i8 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2000840 vadd\.i8 q0, q0, q0 @@ -641,6 +709,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f2200840 vadd\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2200840 vadd\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2200800 vadd\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f2200840 vadd\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200840 vadd\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200800 vadd\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f2200840 vadd\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200840 vadd\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200800 vadd\.i32 d0, d0, d0 0[0-9a-f]+ <[^>]+> f2300840 vadd\.i64 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2300840 vadd\.i64 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2300800 vadd\.i64 d0, d0, d0 @@ -656,6 +730,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3200840 vsub\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f3200840 vsub\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f3200800 vsub\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f3200840 vsub\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200840 vsub\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200800 vsub\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f3200840 vsub\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200840 vsub\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f3200800 vsub\.i32 d0, d0, d0 0[0-9a-f]+ <[^>]+> f3300840 vsub\.i64 q0, q0, q0 0[0-9a-f]+ <[^>]+> f3300840 vsub\.i64 q0, q0, q0 0[0-9a-f]+ <[^>]+> f3300800 vsub\.i64 d0, d0, d0 @@ -680,6 +760,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f2200950 vmul\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2200950 vmul\.i32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f2200910 vmul\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f2200950 vmul\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200950 vmul\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200910 vmul\.i32 d0, d0, d0 +0[0-9a-f]+ <[^>]+> f2200950 vmul\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200950 vmul\.i32 q0, q0, q0 +0[0-9a-f]+ <[^>]+> f2200910 vmul\.i32 d0, d0, d0 0[0-9a-f]+ <[^>]+> f3000d50 vmul\.f32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f3000d50 vmul\.f32 q0, q0, q0 0[0-9a-f]+ <[^>]+> f3000d10 vmul\.f32 d0, d0, d0 @@ -904,9 +990,13 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3a10850 vqrshrun\.s64 d0, q0, #31 0[0-9a-f]+ <[^>]+> f2890810 vshrn\.i16 d0, q0, #7 0[0-9a-f]+ <[^>]+> f2910810 vshrn\.i32 d0, q0, #15 +0[0-9a-f]+ <[^>]+> f2910810 vshrn\.i32 d0, q0, #15 +0[0-9a-f]+ <[^>]+> f2910810 vshrn\.i32 d0, q0, #15 0[0-9a-f]+ <[^>]+> f2a10810 vshrn\.i64 d0, q0, #31 0[0-9a-f]+ <[^>]+> f2890850 vrshrn\.i16 d0, q0, #7 0[0-9a-f]+ <[^>]+> f2910850 vrshrn\.i32 d0, q0, #15 +0[0-9a-f]+ <[^>]+> f2910850 vrshrn\.i32 d0, q0, #15 +0[0-9a-f]+ <[^>]+> f2910850 vrshrn\.i32 d0, q0, #15 0[0-9a-f]+ <[^>]+> f2a10850 vrshrn\.i64 d0, q0, #31 0[0-9a-f]+ <[^>]+> f2890a10 vshll\.s8 d0, q0, #1 0[0-9a-f]+ <[^>]+> f2910a10 vshll\.s16 d0, q0, #1 @@ -917,6 +1007,8 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3b20300 vshll\.i8 q0, d0, #8 0[0-9a-f]+ <[^>]+> f3b60300 vshll\.i16 q0, d0, #16 0[0-9a-f]+ <[^>]+> f3ba0300 vshll\.i32 q0, d0, #32 +0[0-9a-f]+ <[^>]+> f3ba0300 vshll\.i32 q0, d0, #32 +0[0-9a-f]+ <[^>]+> f3ba0300 vshll\.i32 q0, d0, #32 0[0-9a-f]+ <[^>]+> f3bb0740 vcvt\.s32\.f32 q0, q0 0[0-9a-f]+ <[^>]+> f3bb07c0 vcvt\.u32\.f32 q0, q0 0[0-9a-f]+ <[^>]+> f3bb0640 vcvt\.f32\.s32 q0, q0 @@ -955,6 +1047,14 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> ec510b10 vmov r0, r1, d0 0[0-9a-f]+ <[^>]+> f2870057 vmov\.i32 q0, #119 ; 0x00000077 0[0-9a-f]+ <[^>]+> f2870017 vmov\.i32 d0, #119 ; 0x00000077 +0[0-9a-f]+ <[^>]+> f2870057 vmov\.i32 q0, #119 ; 0x00000077 +0[0-9a-f]+ <[^>]+> f2870017 vmov\.i32 d0, #119 ; 0x00000077 +0[0-9a-f]+ <[^>]+> f2870057 vmov\.i32 q0, #119 ; 0x00000077 +0[0-9a-f]+ <[^>]+> f2870017 vmov\.i32 d0, #119 ; 0x00000077 +0[0-9a-f]+ <[^>]+> f2870077 vmvn\.i32 q0, #119 ; 0x00000077 +0[0-9a-f]+ <[^>]+> f2870037 vmvn\.i32 d0, #119 ; 0x00000077 +0[0-9a-f]+ <[^>]+> f2870077 vmvn\.i32 q0, #119 ; 0x00000077 +0[0-9a-f]+ <[^>]+> f2870037 vmvn\.i32 d0, #119 ; 0x00000077 0[0-9a-f]+ <[^>]+> f2870077 vmvn\.i32 q0, #119 ; 0x00000077 0[0-9a-f]+ <[^>]+> f2870037 vmvn\.i32 d0, #119 ; 0x00000077 0[0-9a-f]+ <[^>]+> f2870257 vmov\.i32 q0, #30464 ; 0x00007700 @@ -1052,15 +1152,23 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3a00300 vsubw\.u32 q0, q0, d0 0[0-9a-f]+ <[^>]+> f2800400 vaddhn\.i16 d0, q0, q0 0[0-9a-f]+ <[^>]+> f2900400 vaddhn\.i32 d0, q0, q0 +0[0-9a-f]+ <[^>]+> f2900400 vaddhn\.i32 d0, q0, q0 +0[0-9a-f]+ <[^>]+> f2900400 vaddhn\.i32 d0, q0, q0 0[0-9a-f]+ <[^>]+> f2a00400 vaddhn\.i64 d0, q0, q0 0[0-9a-f]+ <[^>]+> f3800400 vraddhn\.i16 d0, q0, q0 0[0-9a-f]+ <[^>]+> f3900400 vraddhn\.i32 d0, q0, q0 +0[0-9a-f]+ <[^>]+> f3900400 vraddhn\.i32 d0, q0, q0 +0[0-9a-f]+ <[^>]+> f3900400 vraddhn\.i32 d0, q0, q0 0[0-9a-f]+ <[^>]+> f3a00400 vraddhn\.i64 d0, q0, q0 0[0-9a-f]+ <[^>]+> f2800600 vsubhn\.i16 d0, q0, q0 0[0-9a-f]+ <[^>]+> f2900600 vsubhn\.i32 d0, q0, q0 +0[0-9a-f]+ <[^>]+> f2900600 vsubhn\.i32 d0, q0, q0 +0[0-9a-f]+ <[^>]+> f2900600 vsubhn\.i32 d0, q0, q0 0[0-9a-f]+ <[^>]+> f2a00600 vsubhn\.i64 d0, q0, q0 0[0-9a-f]+ <[^>]+> f3800600 vrsubhn\.i16 d0, q0, q0 0[0-9a-f]+ <[^>]+> f3900600 vrsubhn\.i32 d0, q0, q0 +0[0-9a-f]+ <[^>]+> f3900600 vrsubhn\.i32 d0, q0, q0 +0[0-9a-f]+ <[^>]+> f3900600 vrsubhn\.i32 d0, q0, q0 0[0-9a-f]+ <[^>]+> f3a00600 vrsubhn\.i64 d0, q0, q0 0[0-9a-f]+ <[^>]+> f2900900 vqdmlal\.s16 q0, d0, d0 0[0-9a-f]+ <[^>]+> f2a00900 vqdmlal\.s32 q0, d0, d0 @@ -1130,9 +1238,11 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3880a10 vmovl\.u8 q0, d0 0[0-9a-f]+ <[^>]+> f3900a10 vmovl\.u16 q0, d0 0[0-9a-f]+ <[^>]+> f3a00a10 vmovl\.u32 q0, d0 -0[0-9a-f]+ <[^>]+> f3b20200 vmovn\.i8 d0, q0 -0[0-9a-f]+ <[^>]+> f3b60200 vmovn\.i16 d0, q0 -0[0-9a-f]+ <[^>]+> f3ba0200 vmovn\.i32 d0, q0 +0[0-9a-f]+ <[^>]+> f3b20200 vmovn\.i16 d0, q0 +0[0-9a-f]+ <[^>]+> f3b60200 vmovn\.i32 d0, q0 +0[0-9a-f]+ <[^>]+> f3ba0200 vmovn\.i64 d0, q0 +0[0-9a-f]+ <[^>]+> f3b60200 vmovn\.i32 d0, q0 +0[0-9a-f]+ <[^>]+> f3b60200 vmovn\.i32 d0, q0 0[0-9a-f]+ <[^>]+> f3b20280 vqmovn\.s16 d0, q0 0[0-9a-f]+ <[^>]+> f3b60280 vqmovn\.s32 d0, q0 0[0-9a-f]+ <[^>]+> f3ba0280 vqmovn\.s64 d0, q0 @@ -1244,6 +1354,12 @@ Disassembly of section \.text: 0[0-9a-f]+ <[^>]+> f3b804c0 vclz\.i32 q0, q0 0[0-9a-f]+ <[^>]+> f3b804c0 vclz\.i32 q0, q0 0[0-9a-f]+ <[^>]+> f3b80480 vclz\.i32 d0, d0 +0[0-9a-f]+ <[^>]+> f3b804c0 vclz\.i32 q0, q0 +0[0-9a-f]+ <[^>]+> f3b804c0 vclz\.i32 q0, q0 +0[0-9a-f]+ <[^>]+> f3b80480 vclz\.i32 d0, d0 +0[0-9a-f]+ <[^>]+> f3b804c0 vclz\.i32 q0, q0 +0[0-9a-f]+ <[^>]+> f3b804c0 vclz\.i32 q0, q0 +0[0-9a-f]+ <[^>]+> f3b80480 vclz\.i32 d0, d0 0[0-9a-f]+ <[^>]+> f3b00540 vcnt\.8 q0, q0 0[0-9a-f]+ <[^>]+> f3b00540 vcnt\.8 q0, q0 0[0-9a-f]+ <[^>]+> f3b00500 vcnt\.8 d0, d0 diff --git a/gas/testsuite/gas/arm/neon-cov.s b/gas/testsuite/gas/arm/neon-cov.s index 14bc618..d3253ac 100644 --- a/gas/testsuite/gas/arm/neon-cov.s +++ b/gas/testsuite/gas/arm/neon-cov.s @@ -87,6 +87,8 @@ regs2i_1 \op \opq \imm .i8 regs2i_1 \op \opq \imm .i16 regs2i_1 \op \opq \imm .i32 + regs2i_1 \op \opq \imm .s32 + regs2i_1 \op \opq \imm .u32 regs2i_1 \op \opq \imm .i64 .endm @@ -111,6 +113,8 @@ .macro logic_imm op opq logic_imm_1 \op \opq 0x000000ff .i32 + logic_imm_1 \op \opq 0x000000ff .s32 + logic_imm_1 \op \opq 0x000000ff .u32 logic_imm_1 \op \opq 0x0000ff00 .i32 logic_imm_1 \op \opq 0x00ff0000 .i32 logic_imm_1 \op \opq 0xff000000 .i32 @@ -123,6 +127,8 @@ .macro logic_inv_imm op opq logic_imm_1 \op \opq 0xffffff00 .i32 + logic_imm_1 \op \opq 0xffffff00 .s32 + logic_imm_1 \op \opq 0xffffff00 .u32 logic_imm_1 \op \opq 0xffff00ff .i32 logic_imm_1 \op \opq 0xff00ffff .i32 logic_imm_1 \op \opq 0x00ffffff .i32 @@ -151,6 +157,8 @@ regs3_1 \op \opq .i8 regs3_1 \op \opq .i16 regs3_1 \op \opq .i32 + regs3_1 \op \opq .s32 + regs3_1 \op \opq .u32 regs3_1 \op \opq .f32 .endm @@ -181,6 +189,8 @@ regs2i_1 \op \opq 0 .i8 regs2i_1 \op \opq 0 .i16 regs2i_1 \op \opq 0 .i32 + regs2i_1 \op \opq 0 .s32 + regs2i_1 \op \opq 0 .u32 regs2i_1 \op \opq 0 .f32 .endm @@ -215,9 +225,13 @@ regs3_1 \op \opq .i8 regs3_1 \op \opq .i16 regs3_1 \op \opq .i32 + regs3_1 \op \opq .s32 + regs3_1 \op \opq .u32 regs3_1 \op \opq .f32 sclr21_1 \op \opq .i16 sclr21_1 \op \opq .i32 + sclr21_1 \op \opq .s32 + sclr21_1 \op \opq .u32 sclr21_1 \op \opq .f32 .endm @@ -228,6 +242,8 @@ dregs3_1 \op .i8 dregs3_1 \op .i16 dregs3_1 \op .i32 + dregs3_1 \op .s32 + dregs3_1 \op .u32 dregs3_1 \op .f32 .endm @@ -237,6 +253,8 @@ regs3_1 \op \opq .i8 regs3_1 \op \opq .i16 regs3_1 \op \opq .i32 + regs3_1 \op \opq .s32 + regs3_1 \op \opq .u32 regs3_1 \op \opq .i64 regs3_1 \op \opq .f32 .endm @@ -256,6 +274,8 @@ regs3_1 \op \opq .i8 regs3_1 \op \opq .i16 regs3_1 \op \opq .i32 + regs3_1 \op \opq .s32 + regs3_1 \op \opq .u32 regs3_1 \op \opq .f32 regs3_1 \op \opq .p8 .endm @@ -338,6 +358,8 @@ .macro qrshifti_imm op regn3_1 \op 7 .i16 regn3_1 \op 15 .i32 + regn3_1 \op 15 .s32 + regn3_1 \op 15 .u32 regn3_1 \op 31 .i64 .endm @@ -359,6 +381,8 @@ regl3_1 vshll 8 .i8 regl3_1 vshll 16 .i16 regl3_1 vshll 32 .i32 + regl3_1 vshll 32 .s32 + regl3_1 vshll 32 .u32 .macro convert op opr arg="" t1=".s32.f32" t2=".u32.f32" t3=".f32.s32" t4=".f32.u32" \op\t1 \opr,\opr\arg @@ -393,7 +417,11 @@ .endm mov_imm vmov 0x00000077 .i32 + mov_imm vmov 0x00000077 .s32 + mov_imm vmov 0x00000077 .u32 mov_imm vmvn 0x00000077 .i32 + mov_imm vmvn 0x00000077 .s32 + mov_imm vmvn 0x00000077 .u32 mov_imm vmov 0x00007700 .i32 mov_imm vmvn 0x00007700 .i32 mov_imm vmov 0x00770000 .i32 @@ -461,6 +489,8 @@ .macro narr_ops op regn3_1 \op q0 .i16 regn3_1 \op q0 .i32 + regn3_1 \op q0 .s32 + regn3_1 \op q0 .u32 regn3_1 \op q0 .i64 .endm @@ -531,6 +561,8 @@ binop_3typ vmovl q0 d0 .s8 .s16 .s32 binop_3typ vmovl q0 d0 .u8 .u16 .u32 binop_3typ vmovn d0 q0 .i16 .i32 .i64 + vmovn.s32 d0, q0 + vmovn.u32 d0, q0 binop_3typ vqmovn d0 q0 .s16 .s32 .s64 binop_3typ vqmovn d0 q0 .u16 .u32 .u64 binop_3typ vqmovun d0 q0 .s16 .s32 .s64 @@ -580,6 +612,8 @@ binops \op \opq .i8 binops \op \opq .i16 binops \op \opq .i32 + binops \op \opq .s32 + binops \op \opq .u32 .endm regs2_i_32 vclz vclzq -- cgit v1.1