X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fport.h;h=ef0d45182754487cd1a3f3fdc0e1ff7f9139672a;hb=b1176539b41432fec283cb2d21b77efda04b3780;hp=d01887c80f447d33de206db38ced9505c578073c;hpb=090ce4761d96fdbf019e1ecb87b2c6bb8dbefb5a;p=fw%2Fsdcc diff --git a/src/port.h b/src/port.h index d01887c8..ef0d4518 100644 --- a/src/port.h +++ b/src/port.h @@ -5,6 +5,8 @@ #ifndef PORT_INCLUDE #define PORT_INCLUDE +#include "SDCCicode.h" + #define TARGET_ID_MCS51 1 #define TARGET_ID_GBZ80 2 #define TARGET_ID_Z80 3 @@ -206,6 +208,11 @@ typedef struct */ char *(*getMangledFunctionName) (char *szOrginial); + /** Returns true if the port can multiply the two types nativly + without using support functions. + */ + bool (*hasNativeMulFor) (iCode *ic, sym_link *left, sym_link *right); + /** If TRUE, then tprintf and !dw will be used for some initalisers */ bool use_dw_for_init;