view test/MC/Mips/set-nodsp.s @ 111:3e4d254d74d9

resolve some warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 02 Feb 2016 19:38:53 +0900
parents 60c9769439b8
children 803732b1fca8
line wrap: on
line source

# RUN: not llvm-mc %s -mcpu=mips32 -mattr=+dsp -triple mips-unknown-linux 2>%t1
# RUN: FileCheck %s < %t1

  lbux    $7, $10($11)

  .set nodsp
  lbux    $6, $10($11)
  # CHECK: error: instruction requires a CPU feature not currently enabled

  .set dsp
  lbux    $5, $10($11)
  # CHECK-NOT: error: instruction requires a CPU feature not currently enabled