Re: [RFC PATCH 00/29] arm64: Scalable Vector Extension core support
Szabolcs Nagy <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha,gmane.linux.ports.arm.kernel,gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On 30/11/16 12:06, Dave Martin wrote: > For setcontext/setjmp, we don't save/restore any SVE state due to the > caller-save status of SVE, and I would not consider it necessary to > save/restore VL itself because of the no-change-on-the-fly policy for > this. the problem is not changing VL within a thread, but that setcontext can resume a context of a different thread which had different VL and there might be SVE regs spilled on the stack according to that. (i consider this usage undefined, but at least the gccgo runtime does this)