File: sparc-ua2007.s

package info (click to toggle)
llvm-toolchain-21 1%3A21.1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 2,245,044 kB
  • sloc: cpp: 7,619,726; ansic: 1,434,018; asm: 1,058,748; python: 252,740; f90: 94,671; objc: 70,685; lisp: 42,813; pascal: 18,401; sh: 8,601; ml: 5,111; perl: 4,720; makefile: 3,666; awk: 3,523; javascript: 2,409; xml: 892; fortran: 770
file content (30 lines) | stat: -rw-r--r-- 1,759 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
! RUN: not llvm-mc %s -triple=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefixes=NO-UA2007 --implicit-check-not=error:
! RUN: llvm-mc %s -triple=sparcv9 -mattr=+ua2007 -show-encoding | FileCheck %s --check-prefixes=UA2007

!! UA 2007 instructions.

! NO-UA2007: error: instruction requires a CPU feature not currently enabled
! UA2007: fmadds %f1, %f3, %f5, %f7               ! encoding: [0x8f,0xb8,0x4a,0x23]
fmadds %f1, %f3, %f5, %f7
! NO-UA2007: error: instruction requires a CPU feature not currently enabled
! UA2007: fmaddd %f0, %f2, %f4, %f6               ! encoding: [0x8d,0xb8,0x08,0x42]
fmaddd %f0, %f2, %f4, %f6
! NO-UA2007: error: instruction requires a CPU feature not currently enabled
! UA2007: fmsubs %f1, %f3, %f5, %f7               ! encoding: [0x8f,0xb8,0x4a,0xa3]
fmsubs %f1, %f3, %f5, %f7
! NO-UA2007: error: instruction requires a CPU feature not currently enabled
! UA2007: fmsubd %f0, %f2, %f4, %f6               ! encoding: [0x8d,0xb8,0x08,0xc2]
fmsubd %f0, %f2, %f4, %f6

! NO-UA2007: error: instruction requires a CPU feature not currently enabled
! UA2007: fnmadds %f1, %f3, %f5, %f7              ! encoding: [0x8f,0xb8,0x4b,0xa3]
fnmadds %f1, %f3, %f5, %f7
! NO-UA2007: error: instruction requires a CPU feature not currently enabled
! UA2007: fnmaddd %f0, %f2, %f4, %f6              ! encoding: [0x8d,0xb8,0x09,0xc2]
fnmaddd %f0, %f2, %f4, %f6
! NO-UA2007: error: instruction requires a CPU feature not currently enabled
! UA2007: fnmsubs %f1, %f3, %f5, %f7              ! encoding: [0x8f,0xb8,0x4b,0x23]
fnmsubs %f1, %f3, %f5, %f7
! NO-UA2007: error: instruction requires a CPU feature not currently enabled
! UA2007: fnmsubd %f0, %f2, %f4, %f6              ! encoding: [0x8d,0xb8,0x09,0x42]
fnmsubd %f0, %f2, %f4, %f6