x86: Update user interrupt handler stack frame
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 10 Dec 2020 02:14:24 +0000 (18:14 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 11 Dec 2020 14:55:58 +0000 (06:55 -0800)
commit078c7498908d9b74caff34d12099b5c85470e277
tree24f3776c19e7439923f79d071624cf1ead4c1a72
parent97b56dece74138398977ea53368a025ed231b35c
x86: Update user interrupt handler stack frame

User interrupt handler stack frame is similar to exception interrupt
handler stack frame.  Instead of error code, the second argument is
user interrupt request register vector.

gcc/

PR target/98219
* config/i386/uintrintrin.h (__uintr_frame): Remove uirrv.

gcc/testsuite/

PR target/98219
* gcc.dg/guality/pr98219-1.c: New test.
* gcc.dg/guality/pr98219-2.c: Likewise.
* gcc.dg/torture/pr98219-1.c: Likewise.
* gcc.dg/torture/pr98219-2.c: Likewise.
* gcc.target/i386/uintr-2.c: Scan "add[lq] $8, %[er]sp".
(uword_t): New.
(foo): Add a uword_t argument.
(UINTR_hanlder): Likewise.
* gcc.target/i386/uintr-3.c: Scan "add[lq] $8, %[er]sp".
(uword_t): New.
(UINTR_hanlder): Add a uword_t argument.
* gcc.target/i386/uintr-4.c (uword_t): New.
(UINTR_hanlder): Add a uword_t argument.
* gcc.target/i386/uintr-5.c (uword_t): New.
(UINTR_hanlder): Add a uword_t argument.
gcc/config/i386/uintrintrin.h
gcc/testsuite/gcc.dg/guality/pr98219-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/guality/pr98219-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr98219-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr98219-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/uintr-2.c
gcc/testsuite/gcc.target/i386/uintr-3.c
gcc/testsuite/gcc.target/i386/uintr-4.c
gcc/testsuite/gcc.target/i386/uintr-5.c