Semiconductor and bank stocks helped lift the broad market higher on Thursday.