Set the destination register field based on the target specific flags
llvm-svn: 4442
This commit is contained in:
		
							parent
							
								
									60c59d5b4e
								
							
						
					
					
						commit
						87b84a6913
					
				| 
						 | 
					@ -13,7 +13,10 @@
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
static const MachineInstrDescriptor X86Insts[] = {
 | 
					static const MachineInstrDescriptor X86Insts[] = {
 | 
				
			||||||
#define I(ENUM, NAME, FLAGS, TSFLAGS)   \
 | 
					#define I(ENUM, NAME, FLAGS, TSFLAGS)   \
 | 
				
			||||||
             { NAME, -1, -1, 0, false, 0, 0, TSFLAGS, FLAGS },
 | 
					             { NAME,                    \
 | 
				
			||||||
 | 
					               -1, /* Always vararg */  \
 | 
				
			||||||
 | 
					               ((TSFLAGS) & X86II::Void) ? -1 : 0,  /* Result is in 0 */ \
 | 
				
			||||||
 | 
					               0, false, 0, 0, TSFLAGS, FLAGS, TSFLAGS },
 | 
				
			||||||
#include "X86InstrInfo.def"
 | 
					#include "X86InstrInfo.def"
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,6 +5,10 @@
 | 
				
			||||||
// specified below, and is used to make all of the information relevant to an
 | 
					// specified below, and is used to make all of the information relevant to an
 | 
				
			||||||
// instruction be in one place.
 | 
					// instruction be in one place.
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
 | 
					// Note that X86 Instructions always have the destination register listed as
 | 
				
			||||||
 | 
					// operand 0, unless it does not produce a value (in which case the TSFlags will
 | 
				
			||||||
 | 
					// include X86II::Void).
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
//===----------------------------------------------------------------------===//
 | 
					//===----------------------------------------------------------------------===//
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// NOTE: No include guards desired
 | 
					// NOTE: No include guards desired
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue