This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

i386 instruction


Hello,

I am looking for an instruction whose operation can be described as a combination of two or more instructions. For example, an instruction which first moves the memory operand into register and then takes that register as an operand for the required operation.

Does anyone know whether such instruction is present in i386 assembly instruction set? In particular, is there any "define_insn" RTX pattern in MD file, such that it comprises of two or more different RTL expressions, performing some distinct operation(excluding CLOBBER/setting of CC flag)..

Another hypothetical example of such instruction can be, say add_mult:
add_mult: MULT( PLUS(operand1, operand2), operand3)

Any pointers regarding this would be much helpful.


Thanks, -- Amruta MTechII, CSE Dept., IIT Bombay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]