]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/nds32/nds32.c
[NDS32] Emit stack push instructions for varargs at prologue stage and emit...
authorChung-Ju Wu <jasonwucj@gmail.com>
Wed, 3 Sep 2014 10:09:14 +0000 (10:09 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Wed, 3 Sep 2014 10:09:14 +0000 (10:09 +0000)
commit557430f1699f0ad881815957f35fdc9b11a09608
tree3b4e9ae67fd1e063070cf66b91e128dfb9764157
parent99575d60c881fccdc0e5c1f433d63d9d9d2ca86d
[NDS32] Emit stack push instructions for varargs at prologue stage and emit...

[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.

From-SVN: r214867
gcc/ChangeLog
gcc/config/nds32/nds32.c