improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR) -- increase hardcoded limit to 499
authorMario de Sousa <msousa@fe.up.pt>
Fri, 02 Feb 2018 18:36:15 +0000
changeset 1069 0b275a2c7c2b
parent 1068 222879991f44
child 1070 16dc09ee42d8
improve performance of some extensible Standard Functions (ADD, MUL, AND, OR, XOR) -- increase hardcoded limit to 499
lib/C/iec_std_functions.h
--- a/lib/C/iec_std_functions.h	Fri Feb 02 18:31:40 2018 +0000
+++ b/lib/C/iec_std_functions.h	Fri Feb 02 18:36:15 2018 +0000
@@ -2069,6 +2069,306 @@
 #define ARITH_OPERATION_COND_197_LE_8 ,
 #define ARITH_OPERATION_COND_198_LE_8 ,
 #define ARITH_OPERATION_COND_199_LE_8 ,
+#define ARITH_OPERATION_COND_200_LE_8 ,
+#define ARITH_OPERATION_COND_201_LE_8 ,
+#define ARITH_OPERATION_COND_202_LE_8 ,
+#define ARITH_OPERATION_COND_203_LE_8 ,
+#define ARITH_OPERATION_COND_204_LE_8 ,
+#define ARITH_OPERATION_COND_205_LE_8 ,
+#define ARITH_OPERATION_COND_206_LE_8 ,
+#define ARITH_OPERATION_COND_207_LE_8 ,
+#define ARITH_OPERATION_COND_208_LE_8 ,
+#define ARITH_OPERATION_COND_209_LE_8 ,
+#define ARITH_OPERATION_COND_210_LE_8 ,
+#define ARITH_OPERATION_COND_211_LE_8 ,
+#define ARITH_OPERATION_COND_212_LE_8 ,
+#define ARITH_OPERATION_COND_213_LE_8 ,
+#define ARITH_OPERATION_COND_214_LE_8 ,
+#define ARITH_OPERATION_COND_215_LE_8 ,
+#define ARITH_OPERATION_COND_216_LE_8 ,
+#define ARITH_OPERATION_COND_217_LE_8 ,
+#define ARITH_OPERATION_COND_218_LE_8 ,
+#define ARITH_OPERATION_COND_219_LE_8 ,
+#define ARITH_OPERATION_COND_220_LE_8 ,
+#define ARITH_OPERATION_COND_221_LE_8 ,
+#define ARITH_OPERATION_COND_222_LE_8 ,
+#define ARITH_OPERATION_COND_223_LE_8 ,
+#define ARITH_OPERATION_COND_224_LE_8 ,
+#define ARITH_OPERATION_COND_225_LE_8 ,
+#define ARITH_OPERATION_COND_226_LE_8 ,
+#define ARITH_OPERATION_COND_227_LE_8 ,
+#define ARITH_OPERATION_COND_228_LE_8 ,
+#define ARITH_OPERATION_COND_229_LE_8 ,
+#define ARITH_OPERATION_COND_230_LE_8 ,
+#define ARITH_OPERATION_COND_231_LE_8 ,
+#define ARITH_OPERATION_COND_232_LE_8 ,
+#define ARITH_OPERATION_COND_233_LE_8 ,
+#define ARITH_OPERATION_COND_234_LE_8 ,
+#define ARITH_OPERATION_COND_235_LE_8 ,
+#define ARITH_OPERATION_COND_236_LE_8 ,
+#define ARITH_OPERATION_COND_237_LE_8 ,
+#define ARITH_OPERATION_COND_238_LE_8 ,
+#define ARITH_OPERATION_COND_239_LE_8 ,
+#define ARITH_OPERATION_COND_240_LE_8 ,
+#define ARITH_OPERATION_COND_241_LE_8 ,
+#define ARITH_OPERATION_COND_242_LE_8 ,
+#define ARITH_OPERATION_COND_243_LE_8 ,
+#define ARITH_OPERATION_COND_244_LE_8 ,
+#define ARITH_OPERATION_COND_245_LE_8 ,
+#define ARITH_OPERATION_COND_246_LE_8 ,
+#define ARITH_OPERATION_COND_247_LE_8 ,
+#define ARITH_OPERATION_COND_248_LE_8 ,
+#define ARITH_OPERATION_COND_249_LE_8 ,
+#define ARITH_OPERATION_COND_250_LE_8 ,
+#define ARITH_OPERATION_COND_251_LE_8 ,
+#define ARITH_OPERATION_COND_252_LE_8 ,
+#define ARITH_OPERATION_COND_253_LE_8 ,
+#define ARITH_OPERATION_COND_254_LE_8 ,
+#define ARITH_OPERATION_COND_255_LE_8 ,
+#define ARITH_OPERATION_COND_256_LE_8 ,
+#define ARITH_OPERATION_COND_257_LE_8 ,
+#define ARITH_OPERATION_COND_258_LE_8 ,
+#define ARITH_OPERATION_COND_259_LE_8 ,
+#define ARITH_OPERATION_COND_260_LE_8 ,
+#define ARITH_OPERATION_COND_261_LE_8 ,
+#define ARITH_OPERATION_COND_262_LE_8 ,
+#define ARITH_OPERATION_COND_263_LE_8 ,
+#define ARITH_OPERATION_COND_264_LE_8 ,
+#define ARITH_OPERATION_COND_265_LE_8 ,
+#define ARITH_OPERATION_COND_266_LE_8 ,
+#define ARITH_OPERATION_COND_267_LE_8 ,
+#define ARITH_OPERATION_COND_268_LE_8 ,
+#define ARITH_OPERATION_COND_269_LE_8 ,
+#define ARITH_OPERATION_COND_270_LE_8 ,
+#define ARITH_OPERATION_COND_271_LE_8 ,
+#define ARITH_OPERATION_COND_272_LE_8 ,
+#define ARITH_OPERATION_COND_273_LE_8 ,
+#define ARITH_OPERATION_COND_274_LE_8 ,
+#define ARITH_OPERATION_COND_275_LE_8 ,
+#define ARITH_OPERATION_COND_276_LE_8 ,
+#define ARITH_OPERATION_COND_277_LE_8 ,
+#define ARITH_OPERATION_COND_278_LE_8 ,
+#define ARITH_OPERATION_COND_279_LE_8 ,
+#define ARITH_OPERATION_COND_280_LE_8 ,
+#define ARITH_OPERATION_COND_281_LE_8 ,
+#define ARITH_OPERATION_COND_282_LE_8 ,
+#define ARITH_OPERATION_COND_283_LE_8 ,
+#define ARITH_OPERATION_COND_284_LE_8 ,
+#define ARITH_OPERATION_COND_285_LE_8 ,
+#define ARITH_OPERATION_COND_286_LE_8 ,
+#define ARITH_OPERATION_COND_287_LE_8 ,
+#define ARITH_OPERATION_COND_288_LE_8 ,
+#define ARITH_OPERATION_COND_289_LE_8 ,
+#define ARITH_OPERATION_COND_290_LE_8 ,
+#define ARITH_OPERATION_COND_291_LE_8 ,
+#define ARITH_OPERATION_COND_292_LE_8 ,
+#define ARITH_OPERATION_COND_293_LE_8 ,
+#define ARITH_OPERATION_COND_294_LE_8 ,
+#define ARITH_OPERATION_COND_295_LE_8 ,
+#define ARITH_OPERATION_COND_296_LE_8 ,
+#define ARITH_OPERATION_COND_297_LE_8 ,
+#define ARITH_OPERATION_COND_298_LE_8 ,
+#define ARITH_OPERATION_COND_299_LE_8 ,
+#define ARITH_OPERATION_COND_300_LE_8 ,
+#define ARITH_OPERATION_COND_301_LE_8 ,
+#define ARITH_OPERATION_COND_302_LE_8 ,
+#define ARITH_OPERATION_COND_303_LE_8 ,
+#define ARITH_OPERATION_COND_304_LE_8 ,
+#define ARITH_OPERATION_COND_305_LE_8 ,
+#define ARITH_OPERATION_COND_306_LE_8 ,
+#define ARITH_OPERATION_COND_307_LE_8 ,
+#define ARITH_OPERATION_COND_308_LE_8 ,
+#define ARITH_OPERATION_COND_309_LE_8 ,
+#define ARITH_OPERATION_COND_310_LE_8 ,
+#define ARITH_OPERATION_COND_311_LE_8 ,
+#define ARITH_OPERATION_COND_312_LE_8 ,
+#define ARITH_OPERATION_COND_313_LE_8 ,
+#define ARITH_OPERATION_COND_314_LE_8 ,
+#define ARITH_OPERATION_COND_315_LE_8 ,
+#define ARITH_OPERATION_COND_316_LE_8 ,
+#define ARITH_OPERATION_COND_317_LE_8 ,
+#define ARITH_OPERATION_COND_318_LE_8 ,
+#define ARITH_OPERATION_COND_319_LE_8 ,
+#define ARITH_OPERATION_COND_320_LE_8 ,
+#define ARITH_OPERATION_COND_321_LE_8 ,
+#define ARITH_OPERATION_COND_322_LE_8 ,
+#define ARITH_OPERATION_COND_323_LE_8 ,
+#define ARITH_OPERATION_COND_324_LE_8 ,
+#define ARITH_OPERATION_COND_325_LE_8 ,
+#define ARITH_OPERATION_COND_326_LE_8 ,
+#define ARITH_OPERATION_COND_327_LE_8 ,
+#define ARITH_OPERATION_COND_328_LE_8 ,
+#define ARITH_OPERATION_COND_329_LE_8 ,
+#define ARITH_OPERATION_COND_330_LE_8 ,
+#define ARITH_OPERATION_COND_331_LE_8 ,
+#define ARITH_OPERATION_COND_332_LE_8 ,
+#define ARITH_OPERATION_COND_333_LE_8 ,
+#define ARITH_OPERATION_COND_334_LE_8 ,
+#define ARITH_OPERATION_COND_335_LE_8 ,
+#define ARITH_OPERATION_COND_336_LE_8 ,
+#define ARITH_OPERATION_COND_337_LE_8 ,
+#define ARITH_OPERATION_COND_338_LE_8 ,
+#define ARITH_OPERATION_COND_339_LE_8 ,
+#define ARITH_OPERATION_COND_340_LE_8 ,
+#define ARITH_OPERATION_COND_341_LE_8 ,
+#define ARITH_OPERATION_COND_342_LE_8 ,
+#define ARITH_OPERATION_COND_343_LE_8 ,
+#define ARITH_OPERATION_COND_344_LE_8 ,
+#define ARITH_OPERATION_COND_345_LE_8 ,
+#define ARITH_OPERATION_COND_346_LE_8 ,
+#define ARITH_OPERATION_COND_347_LE_8 ,
+#define ARITH_OPERATION_COND_348_LE_8 ,
+#define ARITH_OPERATION_COND_349_LE_8 ,
+#define ARITH_OPERATION_COND_350_LE_8 ,
+#define ARITH_OPERATION_COND_351_LE_8 ,
+#define ARITH_OPERATION_COND_352_LE_8 ,
+#define ARITH_OPERATION_COND_353_LE_8 ,
+#define ARITH_OPERATION_COND_354_LE_8 ,
+#define ARITH_OPERATION_COND_355_LE_8 ,
+#define ARITH_OPERATION_COND_356_LE_8 ,
+#define ARITH_OPERATION_COND_357_LE_8 ,
+#define ARITH_OPERATION_COND_358_LE_8 ,
+#define ARITH_OPERATION_COND_359_LE_8 ,
+#define ARITH_OPERATION_COND_360_LE_8 ,
+#define ARITH_OPERATION_COND_361_LE_8 ,
+#define ARITH_OPERATION_COND_362_LE_8 ,
+#define ARITH_OPERATION_COND_363_LE_8 ,
+#define ARITH_OPERATION_COND_364_LE_8 ,
+#define ARITH_OPERATION_COND_365_LE_8 ,
+#define ARITH_OPERATION_COND_366_LE_8 ,
+#define ARITH_OPERATION_COND_367_LE_8 ,
+#define ARITH_OPERATION_COND_368_LE_8 ,
+#define ARITH_OPERATION_COND_369_LE_8 ,
+#define ARITH_OPERATION_COND_370_LE_8 ,
+#define ARITH_OPERATION_COND_371_LE_8 ,
+#define ARITH_OPERATION_COND_372_LE_8 ,
+#define ARITH_OPERATION_COND_373_LE_8 ,
+#define ARITH_OPERATION_COND_374_LE_8 ,
+#define ARITH_OPERATION_COND_375_LE_8 ,
+#define ARITH_OPERATION_COND_376_LE_8 ,
+#define ARITH_OPERATION_COND_377_LE_8 ,
+#define ARITH_OPERATION_COND_378_LE_8 ,
+#define ARITH_OPERATION_COND_379_LE_8 ,
+#define ARITH_OPERATION_COND_380_LE_8 ,
+#define ARITH_OPERATION_COND_381_LE_8 ,
+#define ARITH_OPERATION_COND_382_LE_8 ,
+#define ARITH_OPERATION_COND_383_LE_8 ,
+#define ARITH_OPERATION_COND_384_LE_8 ,
+#define ARITH_OPERATION_COND_385_LE_8 ,
+#define ARITH_OPERATION_COND_386_LE_8 ,
+#define ARITH_OPERATION_COND_387_LE_8 ,
+#define ARITH_OPERATION_COND_388_LE_8 ,
+#define ARITH_OPERATION_COND_389_LE_8 ,
+#define ARITH_OPERATION_COND_390_LE_8 ,
+#define ARITH_OPERATION_COND_391_LE_8 ,
+#define ARITH_OPERATION_COND_392_LE_8 ,
+#define ARITH_OPERATION_COND_393_LE_8 ,
+#define ARITH_OPERATION_COND_394_LE_8 ,
+#define ARITH_OPERATION_COND_395_LE_8 ,
+#define ARITH_OPERATION_COND_396_LE_8 ,
+#define ARITH_OPERATION_COND_397_LE_8 ,
+#define ARITH_OPERATION_COND_398_LE_8 ,
+#define ARITH_OPERATION_COND_399_LE_8 ,
+#define ARITH_OPERATION_COND_400_LE_8 ,
+#define ARITH_OPERATION_COND_401_LE_8 ,
+#define ARITH_OPERATION_COND_402_LE_8 ,
+#define ARITH_OPERATION_COND_403_LE_8 ,
+#define ARITH_OPERATION_COND_404_LE_8 ,
+#define ARITH_OPERATION_COND_405_LE_8 ,
+#define ARITH_OPERATION_COND_406_LE_8 ,
+#define ARITH_OPERATION_COND_407_LE_8 ,
+#define ARITH_OPERATION_COND_408_LE_8 ,
+#define ARITH_OPERATION_COND_409_LE_8 ,
+#define ARITH_OPERATION_COND_410_LE_8 ,
+#define ARITH_OPERATION_COND_411_LE_8 ,
+#define ARITH_OPERATION_COND_412_LE_8 ,
+#define ARITH_OPERATION_COND_413_LE_8 ,
+#define ARITH_OPERATION_COND_414_LE_8 ,
+#define ARITH_OPERATION_COND_415_LE_8 ,
+#define ARITH_OPERATION_COND_416_LE_8 ,
+#define ARITH_OPERATION_COND_417_LE_8 ,
+#define ARITH_OPERATION_COND_418_LE_8 ,
+#define ARITH_OPERATION_COND_419_LE_8 ,
+#define ARITH_OPERATION_COND_420_LE_8 ,
+#define ARITH_OPERATION_COND_421_LE_8 ,
+#define ARITH_OPERATION_COND_422_LE_8 ,
+#define ARITH_OPERATION_COND_423_LE_8 ,
+#define ARITH_OPERATION_COND_424_LE_8 ,
+#define ARITH_OPERATION_COND_425_LE_8 ,
+#define ARITH_OPERATION_COND_426_LE_8 ,
+#define ARITH_OPERATION_COND_427_LE_8 ,
+#define ARITH_OPERATION_COND_428_LE_8 ,
+#define ARITH_OPERATION_COND_429_LE_8 ,
+#define ARITH_OPERATION_COND_430_LE_8 ,
+#define ARITH_OPERATION_COND_431_LE_8 ,
+#define ARITH_OPERATION_COND_432_LE_8 ,
+#define ARITH_OPERATION_COND_433_LE_8 ,
+#define ARITH_OPERATION_COND_434_LE_8 ,
+#define ARITH_OPERATION_COND_435_LE_8 ,
+#define ARITH_OPERATION_COND_436_LE_8 ,
+#define ARITH_OPERATION_COND_437_LE_8 ,
+#define ARITH_OPERATION_COND_438_LE_8 ,
+#define ARITH_OPERATION_COND_439_LE_8 ,
+#define ARITH_OPERATION_COND_440_LE_8 ,
+#define ARITH_OPERATION_COND_441_LE_8 ,
+#define ARITH_OPERATION_COND_442_LE_8 ,
+#define ARITH_OPERATION_COND_443_LE_8 ,
+#define ARITH_OPERATION_COND_444_LE_8 ,
+#define ARITH_OPERATION_COND_445_LE_8 ,
+#define ARITH_OPERATION_COND_446_LE_8 ,
+#define ARITH_OPERATION_COND_447_LE_8 ,
+#define ARITH_OPERATION_COND_448_LE_8 ,
+#define ARITH_OPERATION_COND_449_LE_8 ,
+#define ARITH_OPERATION_COND_450_LE_8 ,
+#define ARITH_OPERATION_COND_451_LE_8 ,
+#define ARITH_OPERATION_COND_452_LE_8 ,
+#define ARITH_OPERATION_COND_453_LE_8 ,
+#define ARITH_OPERATION_COND_454_LE_8 ,
+#define ARITH_OPERATION_COND_455_LE_8 ,
+#define ARITH_OPERATION_COND_456_LE_8 ,
+#define ARITH_OPERATION_COND_457_LE_8 ,
+#define ARITH_OPERATION_COND_458_LE_8 ,
+#define ARITH_OPERATION_COND_459_LE_8 ,
+#define ARITH_OPERATION_COND_460_LE_8 ,
+#define ARITH_OPERATION_COND_461_LE_8 ,
+#define ARITH_OPERATION_COND_462_LE_8 ,
+#define ARITH_OPERATION_COND_463_LE_8 ,
+#define ARITH_OPERATION_COND_464_LE_8 ,
+#define ARITH_OPERATION_COND_465_LE_8 ,
+#define ARITH_OPERATION_COND_466_LE_8 ,
+#define ARITH_OPERATION_COND_467_LE_8 ,
+#define ARITH_OPERATION_COND_468_LE_8 ,
+#define ARITH_OPERATION_COND_469_LE_8 ,
+#define ARITH_OPERATION_COND_470_LE_8 ,
+#define ARITH_OPERATION_COND_471_LE_8 ,
+#define ARITH_OPERATION_COND_472_LE_8 ,
+#define ARITH_OPERATION_COND_473_LE_8 ,
+#define ARITH_OPERATION_COND_474_LE_8 ,
+#define ARITH_OPERATION_COND_475_LE_8 ,
+#define ARITH_OPERATION_COND_476_LE_8 ,
+#define ARITH_OPERATION_COND_477_LE_8 ,
+#define ARITH_OPERATION_COND_478_LE_8 ,
+#define ARITH_OPERATION_COND_479_LE_8 ,
+#define ARITH_OPERATION_COND_480_LE_8 ,
+#define ARITH_OPERATION_COND_481_LE_8 ,
+#define ARITH_OPERATION_COND_482_LE_8 ,
+#define ARITH_OPERATION_COND_483_LE_8 ,
+#define ARITH_OPERATION_COND_484_LE_8 ,
+#define ARITH_OPERATION_COND_485_LE_8 ,
+#define ARITH_OPERATION_COND_486_LE_8 ,
+#define ARITH_OPERATION_COND_487_LE_8 ,
+#define ARITH_OPERATION_COND_488_LE_8 ,
+#define ARITH_OPERATION_COND_489_LE_8 ,
+#define ARITH_OPERATION_COND_490_LE_8 ,
+#define ARITH_OPERATION_COND_491_LE_8 ,
+#define ARITH_OPERATION_COND_492_LE_8 ,
+#define ARITH_OPERATION_COND_493_LE_8 ,
+#define ARITH_OPERATION_COND_494_LE_8 ,
+#define ARITH_OPERATION_COND_495_LE_8 ,
+#define ARITH_OPERATION_COND_496_LE_8 ,
+#define ARITH_OPERATION_COND_497_LE_8 ,
+#define ARITH_OPERATION_COND_498_LE_8 ,
+#define ARITH_OPERATION_COND_499_LE_8 ,
 
 
 #endif /* _IEC_STD_FUNCTIONS_H */