For all LEON3 (with CASA support) the CASA instruction works in
supervisor-mode regardless of ASI used. In user-mode CASA only works
with the user-mode ASI. So CASA with user-mode ASI works for both
user-mode and supervisor-mode. By having user-mode ASI as default, one
would not need to
The muser-mode flag causes the CASA instruction for LEON3 to use the
user mode ASI. This is the correct behavior for almost all LEON3 targets.
Do they lack the CASA instruction with supervisor-mode ASI? What happens when
the CASA instruction with user-mode ASI is executed in supervisor mode?
Do they lack the CASA instruction with supervisor-mode ASI? What happens when
the CASA instruction with user-mode ASI is executed in supervisor mode?
For all LEON3 (with CASA support) the CASA instruction works in
supervisor-mode regardless of ASI used. In user-mode CASA only works
with
The muser-mode flag causes the CASA instruction for LEON3 to use the
user mode ASI. This is the correct behavior for almost all LEON3 targets.
For this reason it makes sense to make user mode the default. This patch
adds a flag for supervisor mode that can be used on the very few LEON3 targets
Instead of introducing a new option which may conflict with an existing
one, is it not possible to simply use -mno-user-mode?
On 23/06/15 14:22, Daniel Cederman wrote:
The muser-mode flag causes the CASA instruction for LEON3 to use the
user mode ASI. This is the correct behavior for almost
On 2015-06-23 14:34, Jakub Jelinek wrote:
On Tue, Jun 23, 2015 at 02:22:34PM +0200, Daniel Cederman wrote:
The muser-mode flag causes the CASA instruction for LEON3 to use the
user mode ASI. This is the correct behavior for almost all LEON3 targets.
For this reason it makes sense to make user
On 2015-06-23 14:58, Jakub Jelinek wrote:
On Tue, Jun 23, 2015 at 02:48:45PM +0200, Daniel Cederman wrote:
How does one check if the bit has been explicitly set? It was not obvious to
if (TARGET_USER_MODE_P (target_flags_explicit))
me, which is why I took a similar approach to a patch I
On Tue, Jun 23, 2015 at 02:22:34PM +0200, Daniel Cederman wrote:
The muser-mode flag causes the CASA instruction for LEON3 to use the
user mode ASI. This is the correct behavior for almost all LEON3 targets.
For this reason it makes sense to make user mode the default. This patch
adds a flag
The muser-mode flag causes the CASA instruction for LEON3 to use the
user mode ASI. This is the correct behavior for almost all LEON3 targets.
For this reason it makes sense to make user mode the default.
gcc/ChangeLog:
2015-06-23 Daniel Cederman ceder...@gaisler.com
*
On Tue, Jun 23, 2015 at 02:48:45PM +0200, Daniel Cederman wrote:
How does one check if the bit has been explicitly set? It was not obvious to
if (TARGET_USER_MODE_P (target_flags_explicit))
me, which is why I took a similar approach to a patch I found for another
CPU target. If it is possible
10 matches
Mail list logo