Searching for often leads to confusion. Was it remastered? Can you play it with the GamePad? Is it the same as the Nintendo 64 version?
The original N64 controller had a unique layout: one analog stick, a D-Pad, six face buttons (A, B, four C-buttons), and a trigger. The Wii U has a very different layout. Here is the optimal mapping. super mario 64 wii u