Mercurial > hg > CbC > CbC_llvm
comparison test/MC/Mips/mips-fpu-instructions.s @ 147:c2174574ed3a
LLVM 10
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 16:55:33 +0900 |
parents | afa8332a0e37 |
children |
comparison
equal
deleted
inserted
replaced
134:3a76565eade5 | 147:c2174574ed3a |
---|---|
1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 | FileCheck %s | 1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -show-inst -mcpu=mips32r2 | FileCheck %s --check-prefixes=CHECK,CHECK-32 |
2 # RUN: llvm-mc %s -triple=mips64el-unknown-linux -show-encoding -mcpu=mips64r2 | FileCheck %s | 2 # RUN: llvm-mc %s -triple=mips64el-unknown-linux -show-encoding -show-inst -mcpu=mips64r2 | FileCheck %s --check-prefixes=CHECK,CHECK-64 |
3 # Check that the assembler can handle the documented syntax | 3 # Check that the assembler can handle the documented syntax |
4 # for FPU instructions. | 4 # for FPU instructions. |
5 #------------------------------------------------------------------------------ | 5 #------------------------------------------------------------------------------ |
6 # FP aritmetic instructions | 6 # FP aritmetic instructions |
7 #------------------------------------------------------------------------------ | 7 #------------------------------------------------------------------------------ |
121 #------------------------------------------------------------------------------ | 121 #------------------------------------------------------------------------------ |
122 # FP convert instructions | 122 # FP convert instructions |
123 #------------------------------------------------------------------------------ | 123 #------------------------------------------------------------------------------ |
124 # CHECK: cvt.d.s $f6, $f7 # encoding: [0xa1,0x39,0x00,0x46] | 124 # CHECK: cvt.d.s $f6, $f7 # encoding: [0xa1,0x39,0x00,0x46] |
125 # CHECK: cvt.d.w $f12, $f14 # encoding: [0x21,0x73,0x80,0x46] | 125 # CHECK: cvt.d.w $f12, $f14 # encoding: [0x21,0x73,0x80,0x46] |
126 # CHECK-32: # <MCInst #{{.*}} CVT_D32_W | |
127 # CHECK-64: # <MCInst #{{.*}} CVT_D64_W | |
126 # CHECK: cvt.s.d $f12, $f14 # encoding: [0x20,0x73,0x20,0x46] | 128 # CHECK: cvt.s.d $f12, $f14 # encoding: [0x20,0x73,0x20,0x46] |
127 # CHECK: cvt.s.w $f6, $f7 # encoding: [0xa0,0x39,0x80,0x46] | 129 # CHECK: cvt.s.w $f6, $f7 # encoding: [0xa0,0x39,0x80,0x46] |
128 # CHECK: cvt.w.d $f12, $f14 # encoding: [0x24,0x73,0x20,0x46] | 130 # CHECK: cvt.w.d $f12, $f14 # encoding: [0x24,0x73,0x20,0x46] |
129 # CHECK: cvt.w.s $f6, $f7 # encoding: [0xa4,0x39,0x00,0x46] | 131 # CHECK: cvt.w.s $f6, $f7 # encoding: [0xa4,0x39,0x00,0x46] |
130 | 132 |