notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b57e331
)
sh2 drc, x86 fix, revert 6f64058 (carry usage in NEGC/DIV1)
author
kub
<derkub@gmail.com>
Fri, 2 Apr 2021 16:39:56 +0000
(18:39 +0200)
committer
kub
<derkub@gmail.com>
Fri, 2 Apr 2021 16:45:03 +0000
(18:45 +0200)
cpu/drc/emit_x86.c
patch
|
blob
|
blame
|
history
diff --git
a/cpu/drc/emit_x86.c
b/cpu/drc/emit_x86.c
index
4712449
..
94111e0
100644
(file)
--- a/
cpu/drc/emit_x86.c
+++ b/
cpu/drc/emit_x86.c
@@
-383,12
+383,9
@@
enum { xAX = 0, xCX, xDX, xBX, xSP, xBP, xSI, xDI, // x86-64,i386 common
// _r_imm
#define emith_move_r_imm(r, imm) do { \
- if (imm) { \
- EMIT_REX_IF(0, 0, r); \
- EMIT_OP(0xb8 + ((r)&7)); \
- EMIT(imm, u32); \
- } else \
- emith_eor_r_r(r, r); \
+ EMIT_REX_IF(0, 0, r); \
+ EMIT_OP(0xb8 + ((r)&7)); \
+ EMIT(imm, u32); \
} while (0)
#define emith_move_r_ptr_imm(r, imm) do { \