X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=scripts%2Fgen_calc_bin.php;h=6dfece75de8679b3cb028b5bd5fe96b881ae3225;hp=c7dbf0188ee61663143a86d4e4f47ab32c6aa599;hb=fb8f7887c289ae74d6e8dd85d55ae09e6796e890;hpb=52ed5940ed0ab3cafd36fbded2e83c92563e7b2b diff --git a/scripts/gen_calc_bin.php b/scripts/gen_calc_bin.php index c7dbf01..6dfece7 100644 --- a/scripts/gen_calc_bin.php +++ b/scripts/gen_calc_bin.php @@ -49,11 +49,11 @@ static inline token_t psi_calc_bin_(token_t t1, impl_val *v1, token case PSI_T_: i2.u64 = v2->; break; - #endif + default: assert(0); @@ -64,35 +64,3 @@ static inline token_t psi_calc_bin_(token_t t1, impl_val *v1, token return PSI_T_UINT64; } - -static inline token_t psi_calc_bin_not(token_t t1, impl_val *v1, token_t t2, impl_val *v2, impl_val *res) -{ - impl_val i1; - - (void) t2; - (void) v2; - - switch (t1) { - $v1) : ?> - - -#if HAVE_ - - - case PSI_T_: - i1.u64 = v1->; - break; - - -#endif - - - - default: - assert(0); - break; - } - - res->u64 = ~i1.u64; - return PSI_T_UINT64; -} \ No newline at end of file