We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 21656

7.1i EDK - GNU-The MicroBlaze GNU Compiler provides incorrect usage of unsigned division instruction


General Description:

mb-gcc utilizes the idivu instruction instead of the idiv instruction for signed integers. As a result, only code that uses +ve numbers will work. Any code that uses negative numbers will fail.


This problem has been fixed in the latest 7.1i EDK Service Pack available at:

The first service pack containing the fix is 7.1i EDK Service Pack 2.
AR# 21656
Date 12/05/2010
Status Archive
Type General Article
Page Bookmarked