xref: /aosp_15_r20/external/llvm/test/MC/AArch64/arm64-nv-cond.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc < %s -triple arm64 -mattr=neon -show-encoding | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerfcsel d28,d31,d31,nv
4*9880d681SAndroid Build Coastguard Workercsel x0,x0,x0,nv
5*9880d681SAndroid Build Coastguard Workerccmp x0,x0,#0,nv
6*9880d681SAndroid Build Coastguard Workerb.nv #0
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker// CHECK: fcsel   d28, d31, d31, nv       // encoding: [0xfc,0xff,0x7f,0x1e]
9*9880d681SAndroid Build Coastguard Worker// CHECK: csel    x0, x0, x0, nv          // encoding: [0x00,0xf0,0x80,0x9a]
10*9880d681SAndroid Build Coastguard Worker// CHECK: ccmp    x0, x0, #0, nv          // encoding: [0x00,0xf0,0x40,0xfa]
11*9880d681SAndroid Build Coastguard Worker// CHECK: b.nv #0                         // encoding: [0x0f,0x00,0x00,0x54]
12