projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Added support for doing shifts by helper functions
[fw/sdcc]
/
src
/
port.h
diff --git
a/src/port.h
b/src/port.h
index 9bf97e4959a0c5cee4144d69ac46274149e7a780..d53dd0ce0b68879288cdc2d074734b705d408083 100644
(file)
--- a/
src/port.h
+++ b/
src/port.h
@@
-148,13
+148,10
@@
typedef struct
/** One more than the smallest
mul/div operation the processor can do nativley
Eg if the processor has an 8 bit mul, nativebelow is 2 */
/** One more than the smallest
mul/div operation the processor can do nativley
Eg if the processor has an 8 bit mul, nativebelow is 2 */
- unsigned native_below;
- /** The mul/div/mod functions will be made to use regparams
- for sizeof(param) < log2(force_reg)
- i.e. Use 2 for WORD and BYTE, 0 for none. */
- int force_reg_param_below;
+ unsigned muldiv;
+ unsigned shift;
}
}
-
muldiv
;
+
support
;
/** Prefix to add to a C function (eg "_") */
const char *fun_prefix;
/** Prefix to add to a C function (eg "_") */
const char *fun_prefix;