diff options
author | Andrew Carlotti <andrew.carlotti@arm.com> | 2024-01-12 01:44:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-01-12 13:46:35 +0000 |
commit | 59255bf7d20f78f540b2f0016c29fc1e8d614f1b (patch) | |
tree | 5505b7db460804f7d8de126dd0f508c2891361f4 /gas | |
parent | 368910707c60c2008cf241959caec68968ea78ed (diff) | |
download | gdb-59255bf7d20f78f540b2f0016c29fc1e8d614f1b.zip gdb-59255bf7d20f78f540b2f0016c29fc1e8d614f1b.tar.gz gdb-59255bf7d20f78f540b2f0016c29fc1e8d614f1b.tar.bz2 |
aarch64: Add +wfxt flag for existing instructions
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-aarch64.c | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/system-5.d | 62 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/system-5.s | 70 |
3 files changed, 133 insertions, 0 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index df71e67..5b3cdd8 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -10323,6 +10323,7 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = { {"flagm", AARCH64_FEATURE (FLAGM), AARCH64_NO_FEATURES}, {"flagm2", AARCH64_FEATURE (FLAGMANIP), AARCH64_FEATURE (FLAGM)}, {"pauth", AARCH64_FEATURE (PAC), AARCH64_NO_FEATURES}, + {"wfxt", AARCH64_FEATURE (WFXT), AARCH64_NO_FEATURES}, {"mops", AARCH64_FEATURE (MOPS), AARCH64_NO_FEATURES}, {"hbc", AARCH64_FEATURE (HBC), AARCH64_NO_FEATURES}, {"cssc", AARCH64_FEATURE (CSSC), AARCH64_NO_FEATURES}, diff --git a/gas/testsuite/gas/aarch64/system-5.d b/gas/testsuite/gas/aarch64/system-5.d index 935e843..a241739 100644 --- a/gas/testsuite/gas/aarch64/system-5.d +++ b/gas/testsuite/gas/aarch64/system-5.d @@ -68,3 +68,65 @@ Disassembly of section \.text: .*: d503103c wfit x28 .*: d503103d wfit x29 .*: d503103e wfit x30 +.*: d5031000 wfet x0 +.*: d5031001 wfet x1 +.*: d5031002 wfet x2 +.*: d5031003 wfet x3 +.*: d5031004 wfet x4 +.*: d5031005 wfet x5 +.*: d5031006 wfet x6 +.*: d5031007 wfet x7 +.*: d5031008 wfet x8 +.*: d5031009 wfet x9 +.*: d503100a wfet x10 +.*: d503100b wfet x11 +.*: d503100c wfet x12 +.*: d503100d wfet x13 +.*: d503100e wfet x14 +.*: d503100f wfet x15 +.*: d5031010 wfet x16 +.*: d5031011 wfet x17 +.*: d5031012 wfet x18 +.*: d5031013 wfet x19 +.*: d5031014 wfet x20 +.*: d5031015 wfet x21 +.*: d5031016 wfet x22 +.*: d5031017 wfet x23 +.*: d5031018 wfet x24 +.*: d5031019 wfet x25 +.*: d503101a wfet x26 +.*: d503101b wfet x27 +.*: d503101c wfet x28 +.*: d503101d wfet x29 +.*: d503101e wfet x30 +.*: d5031020 wfit x0 +.*: d5031021 wfit x1 +.*: d5031022 wfit x2 +.*: d5031023 wfit x3 +.*: d5031024 wfit x4 +.*: d5031025 wfit x5 +.*: d5031026 wfit x6 +.*: d5031027 wfit x7 +.*: d5031028 wfit x8 +.*: d5031029 wfit x9 +.*: d503102a wfit x10 +.*: d503102b wfit x11 +.*: d503102c wfit x12 +.*: d503102d wfit x13 +.*: d503102e wfit x14 +.*: d503102f wfit x15 +.*: d5031030 wfit x16 +.*: d5031031 wfit x17 +.*: d5031032 wfit x18 +.*: d5031033 wfit x19 +.*: d5031034 wfit x20 +.*: d5031035 wfit x21 +.*: d5031036 wfit x22 +.*: d5031037 wfit x23 +.*: d5031038 wfit x24 +.*: d5031039 wfit x25 +.*: d503103a wfit x26 +.*: d503103b wfit x27 +.*: d503103c wfit x28 +.*: d503103d wfit x29 +.*: d503103e wfit x30 diff --git a/gas/testsuite/gas/aarch64/system-5.s b/gas/testsuite/gas/aarch64/system-5.s index ec2c58c..cacb448 100644 --- a/gas/testsuite/gas/aarch64/system-5.s +++ b/gas/testsuite/gas/aarch64/system-5.s @@ -66,3 +66,73 @@ wfit x28 wfit x29 wfit x30 + + +/* Wait For Event with Timeout is also available with +wfxt. */ +.arch armv8-a+wfxt + + wfet x0 + wfet x1 + wfet x2 + wfet x3 + wfet x4 + wfet x5 + wfet x6 + wfet x7 + wfet x8 + wfet x9 + wfet x10 + wfet x11 + wfet x12 + wfet x13 + wfet x14 + wfet x15 + wfet x16 + wfet x17 + wfet x18 + wfet x19 + wfet x20 + wfet x21 + wfet x22 + wfet x23 + wfet x24 + wfet x25 + wfet x26 + wfet x27 + wfet x28 + wfet x29 + wfet x30 + +/* Wait For Interrupt with Timeout. */ + + wfit x0 + wfit x1 + wfit x2 + wfit x3 + wfit x4 + wfit x5 + wfit x6 + wfit x7 + wfit x8 + wfit x9 + wfit x10 + wfit x11 + wfit x12 + wfit x13 + wfit x14 + wfit x15 + wfit x16 + wfit x17 + wfit x18 + wfit x19 + wfit x20 + wfit x21 + wfit x22 + wfit x23 + wfit x24 + wfit x25 + wfit x26 + wfit x27 + wfit x28 + wfit x29 + wfit x30 |