mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
[mips][msa] Direct Object Emission for 2R instructions.
This patch adds Direct Object Emission support for 2R instructions: nloc.{b,h,w}, nlzc.{b,h,w}, pcnt.{b,w,d}. Patch by Matheus Almeida git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -57,8 +57,13 @@ class MSA_2R_FILL_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst {
|
||||
}
|
||||
|
||||
class MSA_2R_FMT<bits<8> major, bits<2> df, bits<6> minor>: MSAInst {
|
||||
bits<5> ws;
|
||||
bits<5> wd;
|
||||
|
||||
let Inst{25-18} = major;
|
||||
let Inst{17-16} = df;
|
||||
let Inst{15-11} = ws;
|
||||
let Inst{10-6} = wd;
|
||||
let Inst{5-0} = minor;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user