Tate conjecture and mixed perverse sheaves