1 // RUN: tblgen %s | grep "bit IsDouble = 1;" | count 3
4 class Instruction<bits<4> opc, string Name> {
10 multiclass basic_r<bits<4> opc> {
11 let name = "newname" in {
12 def rr : Instruction<opc, "rr">;
13 def rm : Instruction<opc, "rm">;
16 let name = "othername" in
17 def rx : Instruction<opc, "rx">;
20 multiclass basic_ss<bits<4> opc> {
22 defm SS : basic_r<opc>;
25 defm SD : basic_r<opc>;
28 defm ADD : basic_ss<0xf>;