#2416 closed defect (fixed)

Beaglebone: bsp.h missing clobber in inline assembly.

Reported by: Marcos Diaz Owned by: Marcos Diaz <marcos.diaz@…>
Priority: normal Milestone: 4.11.1
Component: unspecified Version: 4.11
Severity: normal Keywords:
Cc: Joel Sherrill Blocked By:
Blocking:

Description

flush_data_cache uses R0 directly but doesn't list it as a clobbered register.
Compiling with -O3 made this code break, since the function that calls flush_data_cache
already uses r0.

Change History (3)

comment:1 Changed on Sep 10, 2015 at 6:04:26 PM by Marcos Diaz

Summary: Beaglebone: missing clobber in inline assembly.Beaglebone: bsp.h missing clobber in inline assembly.

comment:2 Changed on Sep 10, 2015 at 6:22:45 PM by Marcos Diaz <marcos.diaz@…>

Owner: set to Marcos Diaz <marcos.diaz@…>
Resolution: fixed
Status: newclosed

In bebfc4209b4e6a8fc9eab55e592cdaf18ee7df8d/rtems:

Beaglebone: fix missing clobber in inline assembly.

flush_data_cache uses R0 directly but doesn't list it as a clobbered
register. Compiling with -O3 made this code break, since the function
that calls flush_data_cache already uses r0.

closes #2416.

comment:3 Changed on Sep 10, 2015 at 6:31:30 PM by Marcos Diaz <marcos.diaz@…>

In 44eb9893b5c08093f7d53cdfd4c1d2e7bb4a5e39/rtems:

Beaglebone: fix missing clobber in inline assembly.

flush_data_cache uses R0 directly but doesn't list it as a clobbered
register. Compiling with -O3 made this code break, since the function
that calls flush_data_cache already uses r0.

closes #2416.

Note: See TracTickets for help on using tickets.