[NDS32] Emit stack push instructions for varargs at prologue stage and
commit4ef804449fc8dc20d3680a547460c44297e67548
authorjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Sep 2014 10:09:14 +0000 (3 10:09 +0000)
committerjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Sep 2014 10:09:14 +0000 (3 10:09 +0000)
tree3b4e9ae67fd1e063070cf66b91e128dfb9764157
parent6c1b7455691f2c133f99c2dee0fad573e8865a0b
[NDS32]  Emit stack push instructions for varargs at prologue stage and
         emit stack adjustment instructions for varargs at epilogue stage.

  -- Note that we do not need to handle it in v3push/v3pop prologue/epilogue
     expanding because we do not apply v3push/v3pop for variadic function.

* config/nds32/nds32.c (nds32_expand_prologue): Emit stack push
instructions for varargs implementation.
(nds32_expand_epilogue): Emit stack adjustment instructions for
varargs implementation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214867 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nds32/nds32.c