Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a flag to choose whether to enable/disable interrupts around arithmetic mode switches #43

Open
MichaelBell opened this issue Mar 14, 2015 · 0 comments

Comments

@MichaelBell
Copy link

Sometimes you know that the epiphany can't receive any interrupts while your program is running (e.g. because all interrupts are masked, as is the default).

In these cases I believe it is unnecessary to disable and reenable interrupts around arithmode switches, and doing so sometimes costs noticeable performance in cases where floating point and integer arithmetic is mixed.

Therefore, it would be useful to have a flag to choose whether or not interrupts should be disabled when switching arithmode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant