[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #36611] _delay_loop_2 must not use constraint "w" wi
From: |
Georg-Johann Lay |
Subject: |
[avr-libc-dev] [bug #36611] _delay_loop_2 must not use constraint "w" with all targets |
Date: |
Fri, 16 Nov 2012 21:04:06 +0000 |
User-agent: |
Opera/9.80 (Windows NT 5.0; U; de) Presto/2.6.30 Version/10.63 |
Follow-up Comment #2, bug #36611 (project avr-libc):
Factor out the ISA / architecture by means of #if / #ifdef __HAVE_ADIW__ or
__HAVE_CONSTRAINT_W__ or __AVR_ARCH__ or whatever your tools provide and use
2-insn decrement alongside with "d".
If your tools have __builtin_delay_cycles you can use that, but make sure that
respective insn constraint does not suffer from the same flaw (AFAIR this is
the case with Atmel patches)
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?36611>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/