Skip to content

Name changes#377

Merged
dANW34V3R merged 23 commits intodevfrom
nameChanges
Feb 15, 2024
Merged

Name changes#377
dANW34V3R merged 23 commits intodevfrom
nameChanges

Conversation

@dANW34V3R
Copy link
Copy Markdown
Contributor

This PR updates the names of many variables for code clarity and consistency which are listed below. Some of the updates still need to permeate the docs, but this will happen once the proposed names are approved.

  • operands -> sourceValues_ to prevent conflict with metadata.operands which contains both source and destination registers
    -operandsPending -> sourceOperandsPending_
  • getStackPointer -> getInitialProcessStackPointer this name was chosen as to not conflict with Linux.getInitialStackPointer for human readability
  • Underscores added throughout architecture specific header files

@dANW34V3R dANW34V3R requested review from FinnWilkinson, JosephMoore25 and jj16791 and removed request for FinnWilkinson and jj16791 January 29, 2024 17:45
@dANW34V3R dANW34V3R requested a review from jj16791 January 29, 2024 17:46
@dANW34V3R dANW34V3R assigned dANW34V3R and unassigned ABenC377 Jan 29, 2024
@dANW34V3R dANW34V3R requested a review from ABenC377 January 29, 2024 17:46
@dANW34V3R dANW34V3R added enhancement New feature or request docs Documentation code consistency Cleaning up existing code to align with rest of project labels Jan 29, 2024
ABenC377
ABenC377 previously approved these changes Jan 30, 2024
Copy link
Copy Markdown
Contributor

@JosephMoore25 JosephMoore25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple PR, everything looks in order with what we agreed on.

Looks like the rogue file t which is a buggy copy of some regression tests made it in though, so this needs to be removed before approval.

Comment thread t Outdated
JosephMoore25
JosephMoore25 previously approved these changes Feb 2, 2024
@jj16791 jj16791 added the 0.9.6 Part of SimEng Release 0.9.6 label Feb 5, 2024
Comment thread src/include/simeng/arch/aarch64/Instruction.hh Outdated
Comment thread src/include/simeng/arch/aarch64/Instruction.hh
Comment thread src/include/simeng/arch/riscv/Instruction.hh Outdated
Comment thread test/regression/riscv/RISCVRegressionTest.hh Outdated
jj16791
jj16791 previously approved these changes Feb 8, 2024
Comment thread src/include/simeng/kernel/LinuxProcess.hh
FinnWilkinson
FinnWilkinson previously approved these changes Feb 12, 2024
@dANW34V3R dANW34V3R merged commit 22b9652 into dev Feb 15, 2024
@dANW34V3R dANW34V3R deleted the nameChanges branch February 26, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.9.6 Part of SimEng Release 0.9.6 code consistency Cleaning up existing code to align with rest of project docs Documentation enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants