1*9098a8b5SSimon Atanasyan# RUN: not llvm-mc %s -triple mips-unknown-linux-gnu -mattr=+fp64 2> %t0 | \ 27e527423SDaniel Sanders# RUN: FileCheck %s -check-prefix=CHECK-ASM 37e527423SDaniel Sanders# RUN: FileCheck %s -check-prefix=CHECK-ERROR < %t0 47e527423SDaniel Sanders# 57e527423SDaniel Sanders .module nooddspreg 67e527423SDaniel Sanders# CHECK-ASM: .module nooddspreg 77e527423SDaniel Sanders 87e527423SDaniel Sanders add.s $f1, $f2, $f5 97e527423SDaniel Sanders# CHECK-ERROR: :[[@LINE-1]]:15: error: -mno-odd-spreg prohibits the use of odd FPU registers 107e527423SDaniel Sanders# CHECK-ERROR: :[[@LINE-2]]:25: error: -mno-odd-spreg prohibits the use of odd FPU registers 117e527423SDaniel Sanders 127e527423SDaniel Sanders# FIXME: Test should include gnu_attributes directive when implemented. 137e527423SDaniel Sanders# An explicit .gnu_attribute must be checked against the effective 147e527423SDaniel Sanders# command line options and any inconsistencies reported via a warning. 15