#1438 closed defect (fixed)

inline assembly for STOP instruction clobbers CCR

Reported by: strauman Owned by: Joel Sherrill
Priority: low Milestone: 4.9
Component: bsps Version: 4.9
Severity: minor Keywords:
Cc: norume@… Blocked By:


The STOP instruction modifies the CPU's condition-code
register. Therefore, 'cc' should be added to the asm's

It is unlikely that this really causes problems in this
case because the surrounding C-code doesn't really check
any conditions...

Attachments (1)

rtems-m68kidle-cc-clobber.diff (1.2 KB) - added by strauman on Sep 10, 2009 at 8:35:51 PM.
patch adding "cc" asm clobber

Download all attachments as: .zip

Change History (3)

Changed on Sep 10, 2009 at 8:35:51 PM by strauman

patch adding "cc" asm clobber

comment:1 Changed on Sep 10, 2009 at 8:46:46 PM by strauman

Resolution: fixed
Status: newclosed

comment:2 Changed on Nov 10, 2009 at 1:47:11 PM by strauman

fixed on all relevant branches

Note: See TracTickets for help on using tickets.