Bug 413634 - ARMv8.1 arithmetic instructions are not supported
Summary: ARMv8.1 arithmetic instructions are not supported
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (show other bugs)
Version: 3.14.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks: 414270
  Show dependency treegraph
 
Reported: 2019-10-30 14:44 UTC by ahashmi
Modified: 2019-12-27 14:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch implements and tests ARM v8.1 SIMD instructions (65.42 KB, text/plain)
2019-12-12 19:33 UTC, ahashmi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ahashmi 2019-10-30 14:44:09 UTC
SUMMARY
Scalar and vector forms of SQRDMLAH and SQRDMLSH are not supported.

STEPS TO REPRODUCE
Compile with -march=armv8.1-a and if the compiler generates SQRDMLAH and/or SQRDMLSH, valgrind will exit with unknown instruction error.
Comment 1 ahashmi 2019-12-12 19:33:17 UTC
Created attachment 124454 [details]
Patch implements and tests ARM v8.1 SIMD instructions

This patch adds support for AArch64 ARMv8.1 SIMD instructions:
SQRDMLAH <V><d>, <V><n>, <V><m>
SQRDMLAH <Vd>.<T>, <Vn>.<T>, <Vm>.<T>
SQRDMLAH <V><d>, <V><n>, <Vm>.<Ts>[<index>]
SQRDMLAH <Vd>.<T>, <Vn>.<T>, <Vm>.<Ts>[<index>]
SQRDMLSH <V><d>, <V><n>, <V><m>
SQRDMLSH <Vd>.<T>, <Vn>.<T>, <Vm>.<T>
SQRDMLSH <V><d>, <V><n>, <Vm>.<Ts>[<index>]
SQRDMLSH <Vd>.<T>, <Vn>.<T>, <Vm>.<Ts>[<index>]
Comment 2 Julian Seward 2019-12-27 14:36:32 UTC
Committed as a8c274d0682b7265af7a5a9c71251d48169c9dc9.
Thanks for the patch!