In his first 100 days as president, Donald J. Trump may have found much of his agenda stymied, like a health care overhaul and a hotly contested immigration order.

But he can at least point to the biggest stock market rise of any president since the 1980s.

In Mr. Trump’s first 100 days, the Standard & Poor’s 500-stock index has risen about 5 percent, in what supporters have called a “Trump bump.”

Only George Bush enjoyed a bigger stock market rise, with the index gaining 7.7 percent in his first 100 days as president in 1989 amid a 15-year low in unemployment and efforts to shore up the battered savings-and-loan industry.

By comparison, in Barack Obama’s first 100 days in the White House, the S.&P. rose 2.8 percent. Under George W. Bush, it fell 7.3 percent. Under Bill Clinton, it rose 0.9 percent. Under Ronald Reagan, it fell 1 percent.