Commit 954b67a
committed
simx86: move exit_pending_xchg(0) out of the loop in DoExec_fast
This little instruction was responsible for half of the DoExec_fast execution
time according to perf!
Better to check for it inside the loop and only do the exchange after.1 parent 94c78d6 commit 954b67a
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
| 717 | + | |
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
733 | | - | |
734 | | - | |
| 732 | + | |
735 | 733 | | |
736 | | - | |
737 | 734 | | |
738 | 735 | | |
739 | 736 | | |
740 | 737 | | |
741 | 738 | | |
742 | 739 | | |
743 | 740 | | |
| 741 | + | |
744 | 742 | | |
745 | 743 | | |
746 | 744 | | |
| |||
0 commit comments