projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2004-01-06 Vangelis Rokas <vrokas@otenet.gr>
[fw/sdcc]
/
src
/
pic16
/
genarith.c
diff --git
a/src/pic16/genarith.c
b/src/pic16/genarith.c
index 9f6a859579a900255da5c32ce4df61ccb51700a4..79574276420fb8a15097a899948d5d5fc29bf2a7 100644
(file)
--- a/
src/pic16/genarith.c
+++ b/
src/pic16/genarith.c
@@
-180,8
+180,8
@@
bool pic16_genPlusIncr (iCode *ic)
DEBUGpic16_emitcode ("; ","%s %d",__FUNCTION__,__LINE__);
/* if the literal value of the right hand side
DEBUGpic16_emitcode ("; ","%s %d",__FUNCTION__,__LINE__);
/* if the literal value of the right hand side
- is greater than
1
then it is faster to add */
- if ((icount = (unsigned int) floatFromVal (AOP(IC_RIGHT(ic))->aopu.aop_lit)) >
1) // this was > 2 why? VR
+ is greater than
2
then it is faster to add */
+ if ((icount = (unsigned int) floatFromVal (AOP(IC_RIGHT(ic))->aopu.aop_lit)) >
2)
return FALSE ;
/* if increment 16 bits in register */
return FALSE ;
/* if increment 16 bits in register */
@@
-228,7
+228,6
@@
bool pic16_genPlusIncr (iCode *ic)
}
}
-
/* if the sizes are greater than 1 then we cannot */
if (AOP_SIZE(IC_RESULT(ic)) > 1 ||
AOP_SIZE(IC_LEFT(ic)) > 1 )
/* if the sizes are greater than 1 then we cannot */
if (AOP_SIZE(IC_RESULT(ic)) > 1 ||
AOP_SIZE(IC_LEFT(ic)) > 1 )