fucompp
Compare stack element 0 with stack element (i). Use condition codes shown for fucom. Then pop the stack twice.
fucompp %st(7)