[Bug other/67552] [meta] x86 interrupt attribute

2016-02-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 69734, which changed state. Bug 69734 Summary: no_caller_saved_registers attribute doesn't work with -mavx512f -g https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69734 What|Removed |Added

[Bug other/67552] [meta] x86 interrupt attribute

2016-02-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 69596, which changed state. Bug 69596 Summary: vzeroupper is generated in interrupt handler https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69596 What|Removed |Added

[Bug other/67552] [meta] x86 interrupt attribute

2016-01-31 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 69575, which changed state. Bug 69575 Summary: [interrupt] The direction flag DF in the FLAGS register may be wrong in interrupt handler https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69575 What|Removed

[Bug other/67552] [meta] x86 interrupt attribute

2016-01-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 68037, which changed state. Bug 68037 Summary: x86 interrupt attribute doesn't work with DRAP https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68037 What|Removed |Added

[Bug other/67552] [meta] x86 interrupt attribute

2016-01-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 67648, which changed state. Bug 67648 Summary: No need to save callee-saved registers in interrupt handler https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67648 What|Removed |Added

[Bug other/67552] [meta] x86 interrupt attribute

2016-01-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 67841, which changed state. Bug 67841 Summary: error: unable to find a register to spill if all registers are callee-saved https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67841 What|Removed

[Bug other/67552] [meta] x86 interrupt attribute

2015-10-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 67850, which changed state. Bug 67850 Summary: Wrong call_used_regs used in aggregate_value_p https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67850 What|Removed |Added

[Bug other/67552] [meta] x86 interrupt attribute

2015-10-05 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 67855, which changed state. Bug 67855 Summary: -g doesn't with x86 interrupt handler https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67855 What|Removed |Added

[Bug other/67552] [meta] x86 interrupt attribute

2015-09-29 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 67698, which changed state. Bug 67698 Summary: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67698 What|Removed

[Bug other/67552] [meta] x86 interrupt attribute

2015-09-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 67630, which changed state. Bug 67630 Summary: ymm and zmm register aren't preserved in interrupt handler https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67630 What|Removed |Added

[Bug other/67552] [meta] x86 interrupt attribute

2015-09-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 Bug 67552 depends on bug 67634, which changed state. Bug 67634 Summary: Can't preserve bound register in interrupt handler https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67634 What|Removed |Added

[Bug other/67552] [meta] x86 interrupt attribute

2015-09-18 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 --- Comment #7 from H.J. Lu --- I think we should place if (current_function_decl && ix86_is_interrupt_p ()) { for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) { if (!STACK_REGNO_P (i) && !MMX_REGNO_P (i)) {

[Bug other/67552] [meta] x86 interrupt attribute

2015-09-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/67552] [meta] x86 interrupt attribute

2015-09-14 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 --- Comment #5 from Yulia Koval --- Sorry, I don't understand why we shouldn't preserve the red zone. The function "foo", executing before the interrupt was called, used its red zone. If the interrupt does not adjust the stack pointer, who

[Bug other/67552] [meta] x86 interrupt attribute

2015-09-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 --- Comment #4 from H.J. Lu --- MMX instructions should be disallowed in interrupt handler: [hjl@gnu-6 interrupt-1]$ cat m.i typedef short __v4hi __attribute__ ((__vector_size__ (8))); typedef int __m64 __attribute__ ((__vector_size__ (8),

[Bug other/67552] [meta] x86 interrupt attribute

2015-09-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 --- Comment #3 from H.J. Lu --- X87 instructions should be disallowed in interrupt handler: [hjl@gnu-6 interrupt-1]$ cat f.i extern long double y, x; void __attribute__((interrupt)) fn1 (void) { x += y; } [hjl@gnu-6 interrupt-1]$ make f.s

[Bug other/67552] [meta] x86 interrupt attribute

2015-09-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 --- Comment #1 from H.J. Lu --- Created attachment 36324 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36324=edit A patch to remove railing whitespaces in interrupt-switch-abi.c

[Bug other/67552] [meta] x86 interrupt attribute

2015-09-11 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67552 --- Comment #2 from H.J. Lu --- Red zone isn't supported in interrupt handler: 'interrupt' Use this attribute to indicate that the specified void function without arguments is an interrupt handler. The compiler generates