This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to understand SDIV instruction availability?

Hi,

When I read Thumb-2 instruction manual, it is not clear to me about SDIV availability. Especially I do not understand the last line "are not available in ARM state."

Could you explain it to me?

Thanks,

New functionality introduced with Thumb-2

Some new 32-bit instructions are introduced in both Thumb and ARM. These are described in New 32-bit

Thumb instructions on page 1-4 and New 32-bit ARM instructions on page 1-6.

In addition, there are two new 32-bit Thumb instructions with restricted availability:

SDIV Signed Divide

UDIV Unsigned Divide.

These two instructions are only available in ARMv7-R implementations, and are not available in ARM state.

Parents Reply Children
No data