Changeset 4009fd8 in rtems for cpukit/score/cpu/sparc/cpu_asm.S


Ignore:
Timestamp:
Sep 27, 2001, 9:17:26 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
cbb5fc7
Parents:
6846a2f
Message:

2001-09-27 Jiri Gaisler <jiri@…>

  • cpu_asm.S: Small patch to fix a bug in the rtems sparc port. The bug has been there all the time, but only hits the leon bsp since the leon cpu has a 5-stage pipeline (erc32 has 4 stages).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/sparc/cpu_asm.S

    r6846a2f r4009fd8  
    5353        or      %l0, %l1, %l0
    5454        mov     %l0, %psr                  ! **** ENABLE FLOAT ACCESS ****
    55 
    56         ld      [%i0], %l0
     55        nop; nop; nop;                     ! Need three nops before EF is
     56        ld      [%i0], %l0                 ! active due to pipeline delay!!!
    5757        std     %f0, [%l0 + FO_F1_OFFSET]
    5858        std     %f2, [%l0 + F2_F3_OFFSET]
     
    102102        or      %l0, %l1, %l0
    103103        mov     %l0, %psr                  ! **** ENABLE FLOAT ACCESS ****
    104 
    105         ld      [%i0], %l0
     104        nop; nop; nop;                     ! Need three nops before EF is
     105        ld      [%i0], %l0                 ! active due to pipeline delay!!!
    106106        ldd     [%l0 + FO_F1_OFFSET], %f0
    107107        ldd     [%l0 + F2_F3_OFFSET], %f2
Note: See TracChangeset for help on using the changeset viewer.