Welcome to the Linux Foundation Forum!

Unclear about FCLASS.S (Ch5)

eyalerez
eyalerez Posts: 1
edited July 20 in LFD210 Class Forum

Hello All,
I understood that a number in rs1is analyzes and the according to that rd bits are modified.
But as far as I see rd is only 5 bits[7:11].
What am I missing?

Best Regards,
Eyal

Answers

  • slate5
    slate5 Posts: 1

    Hi Eyal,

    Are you confused about how a 10-bit mask (the result of the rs1 examination) fits into a 5-bit rd? 5-bit rd is just register encoding; it holds information about which register will be used to store the result (10-bit mask) into. Example fclass.s t0, fs0: t0 (x5) is rd (0b00101), and a 10-bit mask will be written into it after the execution.

    Hope this helps,
    Petar

Categories

Upcoming Training