[Bug target/66960] Add interrupt attribute to x86 backend

2021-08-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Andrew Pinski changed: What|Removed |Added CC||christian.gnu at juner dot de --- Commen

[Bug target/66960] Add interrupt attribute to x86 backend

2017-07-18 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/66960] Add interrupt attribute to x86 backend

2017-07-18 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #20 from Goswin von Brederlow --- So it's been a year since my last comment. Is this dead or is someone still working on it? It would be a nice addition to gcc.

[Bug target/66960] Add interrupt attribute to x86 backend

2017-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Andrew Pinski changed: What|Removed |Added Target Milestone|6.5 |---

[Bug target/66960] Add interrupt attribute to x86 backend

2017-07-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Richard Biener changed: What|Removed |Added Target Milestone|6.4 |6.5 --- Comment #19 from Richard Biener

[Bug target/66960] Add interrupt attribute to x86 backend

2016-12-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Jakub Jelinek changed: What|Removed |Added Target Milestone|6.3 |6.4 --- Comment #18 from Jakub Jelinek

[Bug target/66960] Add interrupt attribute to x86 backend

2016-08-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Richard Biener changed: What|Removed |Added Target Milestone|6.2 |6.3

[Bug target/66960] Add interrupt attribute to x86 backend

2016-08-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Richard Biener changed: What|Removed |Added Target Milestone|6.2 |6.3

[Bug target/66960] Add interrupt attribute to x86 backend

2016-08-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Richard Biener changed: What|Removed |Added Target Milestone|6.2 |6.3

[Bug target/66960] Add interrupt attribute to x86 backend

2016-08-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Richard Biener changed: What|Removed |Added Target Milestone|6.2 |6.3

[Bug target/66960] Add interrupt attribute to x86 backend

2016-07-06 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #17 from Goswin von Brederlow --- (In reply to H.J. Lu from comment #16) > (In reply to Goswin von Brederlow from comment #15) > > > > No. We only do it for data pushed onto stack by CPU. > > > > I was thinking of something like: >

[Bug target/66960] Add interrupt attribute to x86 backend

2016-07-05 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #16 from H.J. Lu --- (In reply to Goswin von Brederlow from comment #15) > > No. We only do it for data pushed onto stack by CPU. > > I was thinking of something like: > > __attribute__ ((interrupt("save_regs"))) > void > f (struc

[Bug target/66960] Add interrupt attribute to x86 backend

2016-07-05 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #15 from Goswin von Brederlow --- (In reply to H.J. Lu from comment #14) > (In reply to Goswin von Brederlow from comment #13) > > > > Secondly why pass error_code as argument if is already on the stack and > > > > could be accessed t

[Bug target/66960] Add interrupt attribute to x86 backend

2016-07-04 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #14 from H.J. Lu --- (In reply to Goswin von Brederlow from comment #13) > > > > > > In a kernel there will always be some exception that simply prints a > > > register dump and stack backtrace. So again how do you access the origin

[Bug target/66960] Add interrupt attribute to x86 backend

2016-07-04 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #13 from Goswin von Brederlow --- (In reply to H.J. Lu from comment #12) > (In reply to Goswin von Brederlow from comment #11) > > I think the design is fundamentally lacking in the following points: > > > > 1. interrupt handler

[Bug target/66960] Add interrupt attribute to x86 backend

2016-06-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #12 from H.J. Lu --- (In reply to Goswin von Brederlow from comment #11) > I think the design is fundamentally lacking in the following points: > > 1. interrupt handler must be declared with a mandatory pointer argument: > >

[Bug target/66960] Add interrupt attribute to x86 backend

2016-06-30 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Goswin von Brederlow changed: What|Removed |Added CC||goswin-v-b at web dot de --- Comm

[Bug target/66960] Add interrupt attribute to x86 backend

2016-06-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #10 from Dominique d'Humieres --- > Created attachment 38653 [details] > A patch > > Please try this. The patch fixes the issue, thanks.

[Bug target/66960] Add interrupt attribute to x86 backend

2016-06-06 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #9 from H.J. Lu --- Created attachment 38653 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38653&action=edit A patch Please try this.

[Bug target/66960] Add interrupt attribute to x86 backend

2016-06-05 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #8 from Dominique d'Humieres --- > Added: > trunk/gcc/testsuite/gcc.dg/guality/pr68037-1.c > trunk/gcc/testsuite/gcc.dg/guality/pr68037-2.c > trunk/gcc/testsuite/gcc.dg/guality/pr68037-3.c These tests fail on darwin: Und

[Bug target/66960] Add interrupt attribute to x86 backend

2016-06-03 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Jun 3 15:08:00 2016 New Revision: 237073 URL: https://gcc.gnu.org/viewcvs?rev=237073&root=gcc&view=rev Log: Implement x86 interrupt attribute The interrupt and exception hand

[Bug target/66960] Add interrupt attribute to x86 backend

2016-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 Jakub Jelinek changed: What|Removed |Added Target Milestone|6.0 |6.2 --- Comment #6 from Jakub Jelinek -

[Bug target/66960] Add interrupt attribute to x86 backend

2016-02-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #5 from H.J. Lu --- Updated spec to clarify MXCSR register, x87 FPU and MMX register state: The interrupt and exception handlers are called by x86 processors. X86 hardware pushes information onto stack and calls the handler. The re

[Bug target/66960] Add interrupt attribute to x86 backend

2016-01-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66960 --- Comment #4 from H.J. Lu --- The current specification: The interrupt and exception handlers are called by x86 processors. X86 hardware pushes information onto stack and calls the handler. The requirements are 1. Both interrupt and excepti