Given generator $g$ of multiplicative cyclic group modulo $p$ a prime and two elements $h_1$ and $h_2$ such that there are $x_1$ and $x_2$ respectively satisfying $g^{x_i}=h_i\bmod p$ at every $i\in\{1,2\}$, the Discrete Logarithm problem is to find $x_1$ and $x_2$ while the Diffie Hellman problem is to find $g^{x_1x_2}\bmod p$. Both these problems do not have polynomial in $\log p$ time algorithm.
Is it possible to find LSB (Least Significant Bit) and MSB (Most Significant Bit) of $g^{x_1x_2}\bmod p$ in polynomial in $\log p$ time?