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 3RF instructions.
Patch by Matheus Almeida git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191461 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -76,8 +76,15 @@ class MSA_3R_FMT<bits<3> major, bits<2> df, bits<6> minor>: MSAInst {
|
||||
}
|
||||
|
||||
class MSA_3RF_FMT<bits<4> major, bits<1> df, bits<6> minor>: MSAInst {
|
||||
bits<5> wt;
|
||||
bits<5> ws;
|
||||
bits<5> wd;
|
||||
|
||||
let Inst{25-22} = major;
|
||||
let Inst{21} = df;
|
||||
let Inst{20-16} = wt;
|
||||
let Inst{15-11} = ws;
|
||||
let Inst{10-6} = wd;
|
||||
let Inst{5-0} = minor;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user