Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#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 09/10/15 at 18:04:26 by Marcos Diaz

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

comment:2 Changed on 09/10/15 at 18:22:45 by Marcos Diaz <marcos.diaz@…>

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

In [changeset:"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 09/10/15 at 18:31:30 by Marcos Diaz <marcos.diaz@…>

In [changeset:"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.