Checking patch sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S... error: while searching for: * */ /* Offsets for data table __svml_stan_data_internal */ #define _sInvPI_uisa 0 #define _sPI1_uisa 32 #define _sPI2_uisa 64 #define _sPI3_uisa 96 #define _sPI2_ha_uisa 128 #define _sPI3_ha_uisa 160 #define Th_tbl_uisa 192 #define Tl_tbl_uisa 320 #define _sPC3_uisa 448 #define _sPC5_uisa 480 #define _sRangeReductionVal_uisa 512 #define _sInvPi 544 #define _sSignMask 576 #define _sAbsMask 608 #define _sRangeVal 640 #define _sRShifter 672 #define _sOne 704 #define _sRangeReductionVal 736 #define _sPI1 768 #define _sPI2 800 #define _sPI3 832 #define _sPI4 864 #define _sPI1_FMA 896 #define _sPI2_FMA 928 #define _sPI3_FMA 960 #define _sP0 992 #define _sP1 1024 #define _sQ0 1056 #define _sQ1 1088 #define _sQ2 1120 #define _sTwo 1152 #define _sCoeffs 1184 #include .section .text.avx2, "ax", @progbits ENTRY(_ZGVdN8v_tanf_avx2) pushq %rbp cfi_def_cfa_offset(16) movq %rsp, %rbp cfi_def_cfa(6, 16) cfi_offset(6, -16) andq $-32, %rsp pushq %rbx subq $184, %rsp /* * Legacy Code * Here HW FMA can be unavailable */ xorl %eax, %eax vmovups _sAbsMask+__svml_stan_data_internal(%rip), %ymm10 /* * * Main path (_LA_ and _EP_) * * Octant calculation */ vmovups _sInvPi+__svml_stan_data_internal(%rip), %ymm5 vmovups _sRShifter+__svml_stan_data_internal(%rip), %ymm2 /* Range reduction */ vmovups _sPI1_FMA+__svml_stan_data_internal(%rip), %ymm3 /* Rational approximation */ vmovups _sP1+__svml_stan_data_internal(%rip), %ymm9 vmovaps %ymm0, %ymm12 vandps %ymm10, %ymm12, %ymm1 vfmadd213ps %ymm2, %ymm1, %ymm5 vsubps %ymm2, %ymm5, %ymm8 vpslld $30, %ymm5, %ymm6 /* Inversion mask and sign calculation */ vpslld $31, %ymm5, %ymm4 vfnmadd213ps %ymm1, %ymm8, %ymm3 vfnmadd231ps _sPI2_FMA+__svml_stan_data_internal(%rip), %ymm8, %ymm3 vfnmadd132ps _sPI3_FMA+__svml_stan_data_internal(%rip), %ymm3, %ymm8 vmovups _sQ2+__svml_stan_data_internal(%rip), %ymm3 vmulps %ymm8, %ymm8, %ymm13 vfmadd213ps _sQ1+__svml_stan_data_internal(%rip), %ymm13, %ymm3 vfmadd213ps _sP0+__svml_stan_data_internal(%rip), %ymm13, %ymm9 vfmadd213ps _sQ0+__svml_stan_data_internal(%rip), %ymm13, %ymm3 vmulps %ymm9, %ymm8, %ymm8 vxorps %ymm7, %ymm7, %ymm7 vcmpneqps %ymm7, %ymm6, %ymm2 vandnps %ymm12, %ymm10, %ymm11 vxorps %ymm11, %ymm4, %ymm0 /* Exchanged numerator and denominator if necessary */ vandnps %ymm8, %ymm2, %ymm14 vandps %ymm3, %ymm2, %ymm15 vandps %ymm8, %ymm2, %ymm4 vandnps %ymm3, %ymm2, %ymm5 vorps %ymm15, %ymm14, %ymm6 vorps %ymm5, %ymm4, %ymm7 /* Division */ vdivps %ymm7, %ymm6, %ymm9 /* Large values check */ vcmpnle_uqps _sRangeReductionVal+__svml_stan_data_internal(%rip), %ymm1, %ymm10 vmovmskps %ymm10, %edx /* Sign setting */ vxorps %ymm0, %ymm9, %ymm0 /* * * End of main path (_LA_ and _EP_) */ testl %edx, %edx /* Go to auxilary branch */ jne L(AUX_BRANCH) /* DW_CFA_expression: r3 (rbx) (DW_OP_lit8; DW_OP_minus; DW_OP_const4s: -32; DW_OP_and; DW_OP_const4s: -8; DW_OP_plus) */ .cfi_escape 0x10, 0x03, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xf8, 0xff, 0xff, 0xff, 0x22 # LOE r12 r13 r14 r15 eax ymm0 ymm1 ymm10 ymm11 ymm12 /* Return from auxilary branch * for out of main path inputs */ L(AUX_BRANCH_RETURN): testl %eax, %eax /* Go to special inputs processing branch */ jne L(SPECIAL_VALUES_BRANCH) # LOE r12 r13 r14 r15 eax ymm0 ymm12 /* Restore registers * and exit the function */ L(EXIT): addq $184, %rsp cfi_restore(3) popq %rbx movq %rbp, %rsp popq %rbp cfi_def_cfa(7, 8) cfi_restore(6) ret cfi_def_cfa(6, 16) /* DW_CFA_expression: r3 (rbx) (DW_OP_lit8; DW_OP_minus; DW_OP_const4s: -32; DW_OP_and; DW_OP_const4s: -8; DW_OP_plus) */ .cfi_escape 0x10, 0x03, 0x0e, 0x38, 0x1c, 0x0d, 0xe0, 0xff, 0xff, 0xff, 0x1a, 0x0d, 0xf8, 0xff, 0xff, 0xff, 0x22 cfi_offset(6, -16) /* Branch to process * special inputs */ L(SPECIAL_VALUES_BRANCH): vmovups %ymm12, 32(%rsp) vmovups %ymm0, 64(%rsp) # LOE r12 r13 r14 r15 eax ymm0 error: patch failed: sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S:45 error: sysdeps/x86_64/fpu/multiarch/svml_s_tanf8_core_avx2.S: patch does not apply