Commit c3b2996
committed
Move floating point instructions to unified opcode table
To make them throw NO_FPU exceptions when the MSR FP bit is not set,
we switch between two different opcode tables (using the same approach
as dingusdev/dingusppc#135 and dingusdev/dingusppc#136)
Should be a no-op to a slight regression in the benchmark (since it has
no FPU instructions and there's the slight overhead of checking for
MSR changes), but instead it goes from ~442.5 to 460 MiB/s. ¯\_(ツ)_/¯1 parent 14d0501 commit c3b2996
4 files changed
Lines changed: 133 additions & 204 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
136 | | - | |
| 138 | + | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| |||
190 | 192 | | |
191 | 193 | | |
192 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
193 | 200 | | |
194 | 201 | | |
195 | 202 | | |
| |||
0 commit comments