Re: (define_mode_const), a proposal

2010-07-12 Thread Georg Lay
Uros Bizjak schrieb: > Hello! > > During the macroization of x86 RTX patterns, it became clear that > certain patterns can't be macroized due to mode-dependant (const_int > N) RTXes, where the value of X depends on current mode. As an example, > here are two insn patterns from i386/i386.md: > > (

(define_mode_const), a proposal

2010-07-09 Thread Uros Bizjak
Hello! During the macroization of x86 RTX patterns, it became clear that certain patterns can't be macroized due to mode-dependant (const_int N) RTXes, where the value of X depends on current mode. As an example, here are two insn patterns from i386/i386.md: (define_insn "x86_64_shld" [(set (ma