UPGRADE YOUR BROWSER

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:

http://support.xilinx.com/xlnx/xil_sw_updates_home.jsp
The first service pack containing the fix is 7.1i EDK Service Pack 2.
AR# 21656
日期 12/05/2010
状态 Archive
Type 综合文章
的页面