brintos

brintos / llvm-project-archived public Read only

0
0
Text · 602 B · bc99f77 Raw
14 lines · c
1// REQUIRES: riscv-registered-target2// RUN: %clang --target=riscv64 --print-enabled-extensions -mcpu=rocket-rv64 | FileCheck --strict-whitespace %s3 4// Simple litmus test to check the frontend handling of this option is5// enabled.6 7// CHECK: Extensions enabled for the given RISC-V target8// CHECK-EMPTY:9// CHECK-NEXT: Name                 Version   Description10// CHECK-NEXT:     i                    2.1       'I' (Base Integer Instruction Set)11// CHECK-NEXT:     zicsr                2.0       'Zicsr' (CSRs)12// CHECK-NEXT:     zifencei             2.0       'Zifencei' (fence.i)13// CHECK-EMPTY:14