Changeset 0c4884a in rtems-tools


Ignore:
Timestamp:
Apr 16, 2021, 6:24:15 PM (3 weeks ago)
Author:
Alex White <alex.white@…>
Branches:
master
Children:
eecde47
Parents:
29fee42
git-author:
Alex White <alex.white@…> (04/16/21 18:24:15)
git-committer:
Joel Sherrill <joel@…> (04/16/21 22:27:40)
Message:

covoar/Target_aarch64: Swap QEMU taken/not taken bits

This overrides the TargetBase behavior to allow branches to be marked
correctly as either taken or not taken.

Closes #4387

Location:
tester/covoar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tester/covoar/Target_aarch64.cc

    r29fee42 r0c4884a  
    1313#include <rld.h>
    1414
     15#include "qemu-traces.h"
    1516#include "Target_aarch64.h"
    1617
     
    9192  }
    9293
     94  uint8_t Target_aarch64::qemuTakenBit()
     95  {
     96    return TRACE_OP_BR1;
     97  }
     98
     99  uint8_t Target_aarch64::qemuNotTakenBit()
     100  {
     101    return TRACE_OP_BR0;
     102  }
     103
    93104  TargetBase *Target_aarch64_Constructor(
    94105    std::string          targetName
  • tester/covoar/Target_aarch64.h

    r29fee42 r0c4884a  
    5555    );
    5656
     57    /* Documentation inherited from base class */
     58    uint8_t qemuTakenBit() override;
     59
     60    /* Documentation inherited from base class */
     61    uint8_t qemuNotTakenBit() override;
     62
    5763  private:
    5864
Note: See TracChangeset for help on using the changeset viewer.