On 07/25/2017 06:32 AM, Oleg Endo wrote:
> On Tue, 2017-07-25 at 10:47 +0200, Jakob Wenzel wrote:
>>
>> jr's delay slot is not filled. However, if the declaration of a is
>> changed to `extern int a`, the delay slot is filled with the sw.
>>
>> The function responsible for this behavior seems to
On Tue, 2017-07-25 at 10:47 +0200, Jakob Wenzel wrote:
>
> jr's delay slot is not filled. However, if the declaration of a is
> changed to `extern int a`, the delay slot is filled with the sw.
>
> The function responsible for this behavior seems to be
> resource_conflicts_p in reorg.c. Sadly, I
> The function responsible for this behavior seems to be
> resource_conflicts_p in reorg.c. Sadly, I could not find any comments
> explaining why volatile accesses cannot be put into delay slots.
>
> What is the reason for this behavior? I am unable to think of any
> situation where allowing volat