travis: update
[m6w6/ext-psi] / scripts / gen_calc_bin.php
index c7dbf0188ee61663143a86d4e4f47ab32c6aa599..6dfece75de8679b3cb028b5bd5fe96b881ae3225 100644 (file)
@@ -49,11 +49,11 @@ static inline token_t psi_calc_bin_<?=$op_name?>(token_t t1, impl_val *v1, token
        case PSI_T_<?=$t2?>:
                i2.u64 = v2-><?=$v2?>;
                break;<?php /*nobr*/ ?>
-       <?php endforeach; ?>
        <?php if (t_is_special($t2)) : ?>
 
 #endif
        <?php endif; ?>
+       <?php endforeach; ?>
 
        default:
                assert(0);
@@ -64,35 +64,3 @@ static inline token_t psi_calc_bin_<?=$op_name?>(token_t t1, impl_val *v1, token
        return PSI_T_UINT64;
 }
 <?php endforeach; ?>
-
-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) {<?php /*nobr*/ ?>
-       <?php foreach ($types as $t1 => $v1) : ?>
-       <?php if (t_is_special($t1)) :?>
-       
-#if HAVE_<?=$t1?>
-       <?php endif; ?>
-
-       case PSI_T_<?=$t1?>:
-               i1.u64 = v1-><?=$v1?>;
-               break;
-       <?php if (t_is_special($t1)) : ?>
-
-#endif
-       <?php endif; ?>
-       <?php endforeach; ?>
-
-       default:
-               assert(0);
-               break;
-       }
-
-       res->u64 = ~i1.u64;
-       return PSI_T_UINT64;
-}
\ No newline at end of file