On Tue, May 29, 2018 at 7:32 AM, Nathan Sidwell wrote:
> On 05/25/2018 06:30 PM, Jim Wilson wrote:
>
>> -/* Return true if func is a naked function. */
>> +/* Return true if funcion TYPE is an interrupt function. */
>
> .^^^
>>
>> +static bool
>> +riscv_interrupt_type_p (
On 05/25/2018 06:30 PM, Jim Wilson wrote:
-/* Return true if func is a naked function. */
+/* Return true if funcion TYPE is an interrupt function. */
.^^^
+static bool
+riscv_interrupt_type_p (tree type)
funcion?
--
Nathan Sidwell
This adds basic interrupt attribute support to the RISC-V port. This will
save every register before it is used, will save every temporary and argument
register and the return address register before a call, and emits a mret
instruction at the end. I've included some docs and some testcases to ve