diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-04-03 13:21:51 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-04-03 13:21:51 +0000 |
commit | 8750f9a29176f0ac67b775966c4fc190be8ac42e (patch) | |
tree | 0ffad712c7617cc8212a6e6c8a4cb4961578c3c1 /lib/Target/Mips/MipsInstrFormats.td | |
parent | 3eb87654a5eb16edca0c258f6beb5194951da441 (diff) | |
download | llvm-8750f9a29176f0ac67b775966c4fc190be8ac42e.tar.gz llvm-8750f9a29176f0ac67b775966c4fc190be8ac42e.tar.bz2 llvm-8750f9a29176f0ac67b775966c4fc190be8ac42e.tar.xz |
[mips] Implement ehb, ssnop, and pause in assembler
Summary: Add negative tests for pause
Reviewers: matheusalmeida
Reviewed By: matheusalmeida
Differential Revision: http://llvm-reviews.chandlerc.com/D3246
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsInstrFormats.td')
-rw-r--r-- | lib/Target/Mips/MipsInstrFormats.td | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsInstrFormats.td b/lib/Target/Mips/MipsInstrFormats.td index 38fac88604..e4405abe90 100644 --- a/lib/Target/Mips/MipsInstrFormats.td +++ b/lib/Target/Mips/MipsInstrFormats.td @@ -818,3 +818,14 @@ class CMov_F_F_FM<bits<5> fmt, bit tf> : StdArch { let Inst{10-6} = fd; let Inst{5-0} = 0x11; } + +class BARRIER_FM<bits<5> op> : StdArch { + bits<32> Inst; + + let Inst{31-26} = 0; // SPECIAL + let Inst{25-21} = 0; + let Inst{20-16} = 0; // rt = 0 + let Inst{15-11} = 0; // rd = 0 + let Inst{10-6} = op; // Operation + let Inst{5-0} = 0; // SLL +} |