pike.git/
src/
code/
amd64.c
Branch:
Tag:
Non-build tags
All tags
No tags
2012-06-17
2012-06-17 13:17:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>
ec9691657c66efd89b8292afceceb9d12c41f4a4 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Compiler (amd64): Fixed a few typos.
PIKE_INT_TYPE is signed...
2016:
/* Integer - Zap subtype and try just incrementing it. */ mov_reg_mem32(REG_RAX, REG_RCX, OFFSETOF(svalue, type)); add_imm_mem(1, REG_RCX, OFFSETOF(svalue, u.integer));
-
jnc
(&label_B);
+
jno
(&label_B);
add_imm_mem(-1, REG_RCX, OFFSETOF(svalue, u.integer)); LABEL_A; /* Fallback to the C-implementation. */
2038:
cmp_reg_imm(REG_RAX, PIKE_T_INT); jne(&label_A); /* Integer - Zap subtype and try just decrementing it. */
-
mov_reg_mem32(REG_RAX, REG_RCX, OFFSETOF(svalue,
__
type));
+
mov_reg_mem32(REG_RAX, REG_RCX, OFFSETOF(svalue, type));
add_imm_mem(-1, REG_RCX, OFFSETOF(svalue, u.integer));
-
jnc
(&label_B);
+
jno
(&label_B);
add_imm_mem(1, REG_RCX, OFFSETOF(svalue, u.integer)); LABEL_A; /* Fallback to the C-implementation. */