brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 77809ed Raw
53 lines · plain
1// RUN: llvm-mc -triple aarch64-- -mattr=+crc %s 2>&1 |\2// RUN:   FileCheck %s --check-prefix=CRC3 4// RUN: llvm-mc -triple aarch64-- -mcpu=cortex-a55 %s 2>&1 |\5// RUN:   FileCheck %s --check-prefix=CRC6// RUN: llvm-mc -triple aarch64-- -mcpu=cortex-a75 %s 2>&1 |\7// RUN:   FileCheck %s --check-prefix=CRC8// RUN: llvm-mc -triple aarch64-- -mcpu=tsv110 %s 2>&1 |\9// RUN:   FileCheck %s --check-prefix=CRC10 11// RUN: not llvm-mc -triple aarch64-- %s 2>&1 |\12// RUN:   FileCheck %s --check-prefix=NOCRC13// RUN: not llvm-mc -triple aarch64-- -mcpu=cyclone %s 2>&1 |\14// RUN:   FileCheck %s --check-prefix=NOCRC15 16    crc32b w0, w1, w517    crc32h w3, w5, w618    crc32w w19, wzr, w2019    crc32x w3, w5, x2020 21// CRC: crc32b w0, w1, w522// CRC: crc32h w3, w5, w623// CRC: crc32w w19, wzr, w2024// CRC: crc32x w3, w5, x2025 26// NOCRC: error: instruction requires: crc27// NOCRC:     crc32b w0, w1, w528// NOCRC: error: instruction requires: crc29// NOCRC:     crc32h w3, w5, w630// NOCRC: error: instruction requires: crc31// NOCRC:     crc32w w19, wzr, w2032// NOCRC: error: instruction requires: crc33// NOCRC:     crc32x w3, w5, x2034 35    crc32cb w5, w10, w1536    crc32ch w3, w5, w737    crc32cw w11, w13, w1738    crc32cx w19, w23, x2939 40// CRC: crc32cb w5, w10, w1541// CRC: crc32ch w3, w5, w742// CRC: crc32cw w11, w13, w1743// CRC: crc32cx w19, w23, x2944 45// NOCRC: error: instruction requires: crc46// NOCRC:     crc32cb w5, w10, w1547// NOCRC: error: instruction requires: crc48// NOCRC:     crc32ch w3, w5, w749// NOCRC: error: instruction requires: crc50// NOCRC:     crc32cw w11, w13, w1751// NOCRC: error: instruction requires: crc52// NOCRC:     crc32cx w19, w23, x2953