2017-08-09 16:59:54 +02:00
|
|
|
// RUN: llvm-mc -triple aarch64 -mattr=+dotprod -show-encoding < %s | FileCheck %s --check-prefix=CHECK-DOTPROD
|
[ARM][AArch64] Support for Cortex-A65 & A65AE, Neoverse E1 & N1
Summary:
Add support for Cortex-A65, Cortex-A65AE, Neoverse E1 and Neoverse N1.
Neoverse E1 and Cortex-A65(&AE) only implement the AArch64 state of the
Arm architecture. Neoverse N1 implements both AArch32 and AArch64.
Cortex-A65:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65
Cortex-A65AE:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65ae
Neoverse E1:
https://developer.arm.com/ip-products/processors/neoverse/neoverse-e1
Neoverse N1:
https://developer.arm.com/ip-products/processors/neoverse/neoverse-n1
Patch by Diogo Sampaio and Pablo Barrio
Reviewers: samparker, LukeCheeseman, sbaranga, ostannard
Reviewed By: ostannard
Subscribers: ostannard, javed.absar, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64406
llvm-svn: 367007
2019-07-25 12:59:45 +02:00
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=cortex-a55 -show-encoding < %s | FileCheck %s --check-prefix=CHECK-DOTPROD
|
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=cortex-a65 -show-encoding < %s| FileCheck %s --check-prefix=CHECK-DOTPROD
|
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=cortex-a65ae -show-encoding < %s| FileCheck %s --check-prefix=CHECK-DOTPROD
|
2017-08-21 10:43:06 +02:00
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=cortex-a75 -show-encoding < %s | FileCheck %s --check-prefix=CHECK-DOTPROD
|
2019-02-25 16:08:27 +01:00
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=cortex-a76 -show-encoding < %s | FileCheck %s --check-prefix=CHECK-DOTPROD
|
[ARM] Add Cortex-A77 Support for Clang and LLVM
This patch upstreams support for the Arm-v8 Cortex-A77
processor for AArch64 and ARM.
In detail:
- Adding cortex-a77 as a cpu option for aarch64 and arm targets in clang
- Cortex-A77 CPU name and ProcessorModel in llvm
details of the CPU can be found here:
https://www.arm.com/products/silicon-ip-cpu/cortex-a/cortex-a77
and a similar submission to GCC can be found here:
https://github.com/gcc-mirror/gcc/commit/e0664b7a63ed8305e9f8539309df7fb3eb13babe
The following people contributed to this patch:
- Luke Geeson
- Mikhail Maltsev
Reviewers: t.p.northover, dmgreen, ostannard, SjoerdMeijer
Reviewed By: dmgreen
Subscribers: dmgreen, kristof.beyls, hiraditya, danielkiss, cfe-commits,
llvm-commits, miyuki
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D82887
2020-06-30 17:45:36 +02:00
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=cortex-a77 -show-encoding < %s | FileCheck %s --check-prefix=CHECK-DOTPROD
|
2020-07-01 13:50:36 +02:00
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=cortex-a78 -show-encoding < %s | FileCheck %s --check-prefix=CHECK-DOTPROD
|
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=cortex-x1 -show-encoding < %s | FileCheck %s --check-prefix=CHECK-DOTPROD
|
[ARM][AArch64] Support for Cortex-A65 & A65AE, Neoverse E1 & N1
Summary:
Add support for Cortex-A65, Cortex-A65AE, Neoverse E1 and Neoverse N1.
Neoverse E1 and Cortex-A65(&AE) only implement the AArch64 state of the
Arm architecture. Neoverse N1 implements both AArch32 and AArch64.
Cortex-A65:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65
Cortex-A65AE:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65ae
Neoverse E1:
https://developer.arm.com/ip-products/processors/neoverse/neoverse-e1
Neoverse N1:
https://developer.arm.com/ip-products/processors/neoverse/neoverse-n1
Patch by Diogo Sampaio and Pablo Barrio
Reviewers: samparker, LukeCheeseman, sbaranga, ostannard
Reviewed By: ostannard
Subscribers: ostannard, javed.absar, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64406
llvm-svn: 367007
2019-07-25 12:59:45 +02:00
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=neoverse-e1 -show-encoding < %s| FileCheck %s --check-prefix=CHECK-DOTPROD
|
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=neoverse-n1 -show-encoding < %s| FileCheck %s --check-prefix=CHECK-DOTPROD
|
2020-11-16 14:11:35 +01:00
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=neoverse-n2 -show-encoding < %s| FileCheck %s --check-prefix=CHECK-DOTPROD
|
2018-11-09 20:32:08 +01:00
|
|
|
// RUN: llvm-mc -triple aarch64 -mcpu=tsv110 -show-encoding < %s | FileCheck %s --check-prefix=CHECK-DOTPROD
|
[ARM][AArch64] Support for Cortex-A65 & A65AE, Neoverse E1 & N1
Summary:
Add support for Cortex-A65, Cortex-A65AE, Neoverse E1 and Neoverse N1.
Neoverse E1 and Cortex-A65(&AE) only implement the AArch64 state of the
Arm architecture. Neoverse N1 implements both AArch32 and AArch64.
Cortex-A65:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65
Cortex-A65AE:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65ae
Neoverse E1:
https://developer.arm.com/ip-products/processors/neoverse/neoverse-e1
Neoverse N1:
https://developer.arm.com/ip-products/processors/neoverse/neoverse-n1
Patch by Diogo Sampaio and Pablo Barrio
Reviewers: samparker, LukeCheeseman, sbaranga, ostannard
Reviewed By: ostannard
Subscribers: ostannard, javed.absar, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64406
llvm-svn: 367007
2019-07-25 12:59:45 +02:00
|
|
|
|
2017-08-09 16:59:54 +02:00
|
|
|
// RUN: not llvm-mc -triple aarch64 -mattr=+v8.2a -show-encoding < %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NO-DOTPROD < %t %s
|
[ARM][AArch64] Support for Cortex-A65 & A65AE, Neoverse E1 & N1
Summary:
Add support for Cortex-A65, Cortex-A65AE, Neoverse E1 and Neoverse N1.
Neoverse E1 and Cortex-A65(&AE) only implement the AArch64 state of the
Arm architecture. Neoverse N1 implements both AArch32 and AArch64.
Cortex-A65:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65
Cortex-A65AE:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65ae
Neoverse E1:
https://developer.arm.com/ip-products/processors/neoverse/neoverse-e1
Neoverse N1:
https://developer.arm.com/ip-products/processors/neoverse/neoverse-n1
Patch by Diogo Sampaio and Pablo Barrio
Reviewers: samparker, LukeCheeseman, sbaranga, ostannard
Reviewed By: ostannard
Subscribers: ostannard, javed.absar, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64406
llvm-svn: 367007
2019-07-25 12:59:45 +02:00
|
|
|
// RUN: not llvm-mc -triple aarch64 -mcpu=cortex-a65 -mattr=-dotprod -show-encoding < %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NO-DOTPROD < %t %s
|
|
|
|
// RUN: not llvm-mc -triple aarch64 -mcpu=cortex-a65ae -mattr=-dotprod -show-encoding < %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NO-DOTPROD < %t %s
|
|
|
|
// RUN: not llvm-mc -triple aarch64 -mcpu=neoverse-e1 -mattr=-dotprod -show-encoding < %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NO-DOTPROD < %t %s
|
[ARM] Add Cortex-A77 Support for Clang and LLVM
This patch upstreams support for the Arm-v8 Cortex-A77
processor for AArch64 and ARM.
In detail:
- Adding cortex-a77 as a cpu option for aarch64 and arm targets in clang
- Cortex-A77 CPU name and ProcessorModel in llvm
details of the CPU can be found here:
https://www.arm.com/products/silicon-ip-cpu/cortex-a/cortex-a77
and a similar submission to GCC can be found here:
https://github.com/gcc-mirror/gcc/commit/e0664b7a63ed8305e9f8539309df7fb3eb13babe
The following people contributed to this patch:
- Luke Geeson
- Mikhail Maltsev
Reviewers: t.p.northover, dmgreen, ostannard, SjoerdMeijer
Reviewed By: dmgreen
Subscribers: dmgreen, kristof.beyls, hiraditya, danielkiss, cfe-commits,
llvm-commits, miyuki
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D82887
2020-06-30 17:45:36 +02:00
|
|
|
// RUN: not llvm-mc -triple aarch64 -mcpu=cortex-a77 -mattr=-dotprod -show-encoding < %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NO-DOTPROD < %t %s
|
2020-07-01 13:50:36 +02:00
|
|
|
// RUN: not llvm-mc -triple aarch64 -mcpu=cortex-a78 -mattr=-dotprod -show-encoding < %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NO-DOTPROD < %t %s
|
|
|
|
// RUN: not llvm-mc -triple aarch64 -mcpu=cortex-x1 -mattr=-dotprod -show-encoding < %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NO-DOTPROD < %t %s
|
[ARM][AArch64] Support for Cortex-A65 & A65AE, Neoverse E1 & N1
Summary:
Add support for Cortex-A65, Cortex-A65AE, Neoverse E1 and Neoverse N1.
Neoverse E1 and Cortex-A65(&AE) only implement the AArch64 state of the
Arm architecture. Neoverse N1 implements both AArch32 and AArch64.
Cortex-A65:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65
Cortex-A65AE:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a65ae
Neoverse E1:
https://developer.arm.com/ip-products/processors/neoverse/neoverse-e1
Neoverse N1:
https://developer.arm.com/ip-products/processors/neoverse/neoverse-n1
Patch by Diogo Sampaio and Pablo Barrio
Reviewers: samparker, LukeCheeseman, sbaranga, ostannard
Reviewed By: ostannard
Subscribers: ostannard, javed.absar, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64406
llvm-svn: 367007
2019-07-25 12:59:45 +02:00
|
|
|
// RUN: not llvm-mc -triple aarch64 -mcpu=neoverse-n1 -mattr=-dotprod -show-encoding < %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NO-DOTPROD < %t %s
|
2020-11-16 14:11:35 +01:00
|
|
|
// RUN: not llvm-mc -triple aarch64 -mcpu=neoverse-n2 -mattr=-dotprod -show-encoding < %s 2> %t
|
|
|
|
// RUN: FileCheck --check-prefix=CHECK-NO-DOTPROD < %t %s
|
2017-08-09 16:59:54 +02:00
|
|
|
|
|
|
|
udot v0.2s, v1.8b, v2.8b
|
|
|
|
sdot v0.2s, v1.8b, v2.8b
|
|
|
|
udot v0.4s, v1.16b, v2.16b
|
|
|
|
sdot v0.4s, v1.16b, v2.16b
|
|
|
|
udot v0.2s, v1.8b, v2.4b[0]
|
|
|
|
sdot v0.2s, v1.8b, v2.4b[1]
|
|
|
|
udot v0.4s, v1.16b, v2.4b[2]
|
|
|
|
sdot v0.4s, v1.16b, v2.4b[3]
|
|
|
|
|
|
|
|
// Check that the upper case types are aliases
|
|
|
|
udot v0.2S, v1.8B, v2.4B[0]
|
|
|
|
udot v0.4S, v1.16B, v2.4B[2]
|
|
|
|
|
|
|
|
// CHECK-DOTPROD: udot v0.2s, v1.8b, v2.8b // encoding: [0x20,0x94,0x82,0x2e]
|
|
|
|
// CHECK-DOTPROD: sdot v0.2s, v1.8b, v2.8b // encoding: [0x20,0x94,0x82,0x0e]
|
|
|
|
// CHECK-DOTPROD: udot v0.4s, v1.16b, v2.16b // encoding: [0x20,0x94,0x82,0x6e]
|
|
|
|
// CHECK-DOTPROD: sdot v0.4s, v1.16b, v2.16b // encoding: [0x20,0x94,0x82,0x4e]
|
|
|
|
// CHECK-DOTPROD: udot v0.2s, v1.8b, v2.4b[0] // encoding: [0x20,0xe0,0x82,0x2f]
|
|
|
|
// CHECK-DOTPROD: sdot v0.2s, v1.8b, v2.4b[1] // encoding: [0x20,0xe0,0xa2,0x0f]
|
|
|
|
// CHECK-DOTPROD: udot v0.4s, v1.16b, v2.4b[2] // encoding: [0x20,0xe8,0x82,0x6f]
|
|
|
|
// CHECK-DOTPROD: sdot v0.4s, v1.16b, v2.4b[3] // encoding: [0x20,0xe8,0xa2,0x4f]
|
|
|
|
|
|
|
|
// CHECK-DOTPROD: udot v0.2s, v1.8b, v2.4b[0] // encoding: [0x20,0xe0,0x82,0x2f]
|
|
|
|
// CHECK-DOTPROD: udot v0.4s, v1.16b, v2.4b[2] // encoding: [0x20,0xe8,0x82,0x6f]
|
|
|
|
|
|
|
|
// CHECK-NO-DOTPROD: error: instruction requires: dotprod
|
|
|
|
// CHECK-NO-DOTPROD: udot v0.2s, v1.8b, v2.8b
|
|
|
|
// CHECK-NO-DOTPROD: ^
|
|
|
|
// CHECK-NO-DOTPROD: error: instruction requires: dotprod
|
|
|
|
// CHECK-NO-DOTPROD: sdot v0.2s, v1.8b, v2.8b
|
|
|
|
// CHECK-NO-DOTPROD: ^
|
|
|
|
// CHECK-NO-DOTPROD: error: instruction requires: dotprod
|
|
|
|
// CHECK-NO-DOTPROD: udot v0.4s, v1.16b, v2.16b
|
|
|
|
// CHECK-NO-DOTPROD: ^
|
|
|
|
// CHECK-NO-DOTPROD: error: instruction requires: dotprod
|
|
|
|
// CHECK-NO-DOTPROD: sdot v0.4s, v1.16b, v2.16b
|
|
|
|
// CHECK-NO-DOTPROD: ^
|
|
|
|
// CHECK-NO-DOTPROD: error: instruction requires: dotprod
|
|
|
|
// CHECK-NO-DOTPROD: udot v0.2s, v1.8b, v2.4b[0]
|
|
|
|
// CHECK-NO-DOTPROD: ^
|
|
|
|
// CHECK-NO-DOTPROD: error: instruction requires: dotprod
|
|
|
|
// CHECK-NO-DOTPROD: sdot v0.2s, v1.8b, v2.4b[1]
|
|
|
|
// CHECK-NO-DOTPROD: ^
|
|
|
|
// CHECK-NO-DOTPROD: error: instruction requires: dotprod
|
|
|
|
// CHECK-NO-DOTPROD: udot v0.4s, v1.16b, v2.4b[2]
|
|
|
|
// CHECK-NO-DOTPROD: ^
|
|
|
|
// CHECK-NO-DOTPROD: error: instruction requires: dotprod
|
|
|
|
// CHECK-NO-DOTPROD: sdot v0.4s, v1.16b, v2.4b[3]
|
|
|
|
// CHECK-NO-DOTPROD: ^
|
|
|
|
|
|
|
|
// CHECK-NO-DOTPROD: error: instruction requires: dotprod
|
|
|
|
// CHECK-NO-DOTPROD: udot v0.2S, v1.8B, v2.4B[0]
|
|
|
|
// CHECK-NO-DOTPROD: ^
|
|
|
|
// CHECK-NO-DOTPROD: error: instruction requires: dotprod
|
|
|
|
// CHECK-NO-DOTPROD: udot v0.4S, v1.16B, v2.4B[2]
|
|
|
|
// CHECK-NO-DOTPROD: ^
|