@@ -724,32 +724,6 @@ NPY_NO_EXPORT NPY_GCC_OPT_3 @ATTR@ void
724
724
725
725
/**end repeat1**/
726
726
727
- /**begin repeat1
728
- * #kind = maximum, minimum#
729
- * #OP = >, <#
730
- **/
731
-
732
- NPY_NO_EXPORT void
733
- @TYPE @_ @kind @(char * * args , npy_intp const * dimensions , npy_intp const * steps , void * NPY_UNUSED (func ))
734
- {
735
- if (IS_BINARY_REDUCE ) {
736
- BINARY_REDUCE_LOOP (@type @) {
737
- const @type @ in2 = * (@type @ * )ip2 ;
738
- io1 = (io1 @OP @ in2 ) ? io1 : in2 ;
739
- }
740
- * ((@type @ * )iop1 ) = io1 ;
741
- }
742
- else {
743
- BINARY_LOOP {
744
- const @type @ in1 = * (@type @ * )ip1 ;
745
- const @type @ in2 = * (@type @ * )ip2 ;
746
- * ((@type @ * )op1 ) = (in1 @OP @ in2 ) ? in1 : in2 ;
747
- }
748
- }
749
- }
750
-
751
- /**end repeat1**/
752
-
753
727
NPY_NO_EXPORT void
754
728
@TYPE @_power (char * * args , npy_intp const * dimensions , npy_intp const * steps , void * NPY_UNUSED (func ))
755
729
{
@@ -1684,93 +1658,6 @@ NPY_NO_EXPORT void
1684
1658
}
1685
1659
}
1686
1660
1687
- /**begin repeat1
1688
- * #kind = maximum, minimum#
1689
- * #OP = >=, <=#
1690
- **/
1691
- NPY_NO_EXPORT void
1692
- @TYPE @_ @kind @_avx512f (char * * args , npy_intp const * dimensions , npy_intp const * steps , void * NPY_UNUSED (func ))
1693
- {
1694
- /* */
1695
- if (IS_BINARY_REDUCE ) {
1696
- if (!run_unary_reduce_simd_ @kind @_ @TYPE @(args , dimensions , steps )) {
1697
- BINARY_REDUCE_LOOP (@type @) {
1698
- const @type @ in2 = * (@type @ * )ip2 ;
1699
- /* Order of operations important for MSVC 2015 */
1700
- io1 = (io1 @OP @ in2 || npy_isnan (io1 )) ? io1 : in2 ;
1701
- }
1702
- * ((@type @ * )iop1 ) = io1 ;
1703
- }
1704
- }
1705
- else {
1706
- if (!run_binary_avx512f_ @kind @_ @TYPE @(args , dimensions , steps )) {
1707
- BINARY_LOOP {
1708
- @type @ in1 = * (@type @ * )ip1 ;
1709
- const @type @ in2 = * (@type @ * )ip2 ;
1710
- /* Order of operations important for MSVC 2015 */
1711
- in1 = (in1 @OP @ in2 || npy_isnan (in1 )) ? in1 : in2 ;
1712
- * ((@type @ * )op1 ) = in1 ;
1713
- }
1714
- }
1715
- }
1716
- npy_clear_floatstatus_barrier ((char * )dimensions );
1717
- }
1718
-
1719
- NPY_NO_EXPORT void
1720
- @TYPE @_ @kind @(char * * args , npy_intp const * dimensions , npy_intp const * steps , void * NPY_UNUSED (func ))
1721
- {
1722
- /* */
1723
- if (IS_BINARY_REDUCE ) {
1724
- if (!run_unary_reduce_simd_ @kind @_ @TYPE @(args , dimensions , steps )) {
1725
- BINARY_REDUCE_LOOP (@type @) {
1726
- const @type @ in2 = * (@type @ * )ip2 ;
1727
- /* Order of operations important for MSVC 2015 */
1728
- io1 = (io1 @OP @ in2 || npy_isnan (io1 )) ? io1 : in2 ;
1729
- }
1730
- * ((@type @ * )iop1 ) = io1 ;
1731
- }
1732
- }
1733
- else {
1734
- BINARY_LOOP {
1735
- @type @ in1 = * (@type @ * )ip1 ;
1736
- const @type @ in2 = * (@type @ * )ip2 ;
1737
- /* Order of operations important for MSVC 2015 */
1738
- in1 = (in1 @OP @ in2 || npy_isnan (in1 )) ? in1 : in2 ;
1739
- * ((@type @ * )op1 ) = in1 ;
1740
- }
1741
- }
1742
- npy_clear_floatstatus_barrier ((char * )dimensions );
1743
- }
1744
- /**end repeat1**/
1745
-
1746
- /**begin repeat1
1747
- * #kind = fmax, fmin#
1748
- * #OP = >=, <=#
1749
- **/
1750
- NPY_NO_EXPORT void
1751
- @TYPE @_ @kind @(char * * args , npy_intp const * dimensions , npy_intp const * steps , void * NPY_UNUSED (func ))
1752
- {
1753
- /* */
1754
- if (IS_BINARY_REDUCE ) {
1755
- BINARY_REDUCE_LOOP (@type @) {
1756
- const @type @ in2 = * (@type @ * )ip2 ;
1757
- /* Order of operations important for MSVC 2015 */
1758
- io1 = (io1 @OP @ in2 || npy_isnan (in2 )) ? io1 : in2 ;
1759
- }
1760
- * ((@type @ * )iop1 ) = io1 ;
1761
- }
1762
- else {
1763
- BINARY_LOOP {
1764
- const @type @ in1 = * (@type @ * )ip1 ;
1765
- const @type @ in2 = * (@type @ * )ip2 ;
1766
- /* Order of operations important for MSVC 2015 */
1767
- * ((@type @ * )op1 ) = (in1 @OP @ in2 || npy_isnan (in2 )) ? in1 : in2 ;
1768
- }
1769
- }
1770
- npy_clear_floatstatus_barrier ((char * )dimensions );
1771
- }
1772
- /**end repeat1**/
1773
-
1774
1661
NPY_NO_EXPORT void
1775
1662
@TYPE @_floor_divide (char * * args , npy_intp const * dimensions , npy_intp const * steps , void * NPY_UNUSED (func ))
1776
1663
{
0 commit comments