What is the impact of register count on processor performance and cost?

  • Thread starter Thread starter Rizz84
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the impact of register count on processor performance and cost, specifically comparing two hypothetical processors with different numbers of registers. Participants explore various aspects such as speed, size, cost, and the implications of register count on functionality and architecture.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Technical explanation

Main Points Raised

  • Some participants question the clarity of the original question, noting it lacks specificity regarding what is meant by "best" and what functionality differences exist between the processors.
  • One participant suggests that a 64-bit processor is generally faster, larger, and more expensive than a 16-bit processor, but clarifies that the number of bits does not directly correlate with the number of registers.
  • Another participant discusses the historical context of register use, arguing that having a large number of registers can ease multitasking and reduce CPU time spent on context switching in real-time environments.
  • There is a mention of older architectures where any memory location could function as a register, contrasting with modern designs that may have fixed register sets.
  • One participant reflects on the architectural analogy of building design, suggesting that simply having more registers does not inherently lead to better performance; the arrangement and usage are crucial.
  • Concerns are raised about the relevance of the original premise in the context of modern computing, with a participant expressing uncertainty about current terminology and concepts.

Areas of Agreement / Disagreement

Participants express differing views on the implications of register count, with no consensus on the best approach or definitive answers to the original question. The discussion remains unresolved regarding the overall impact of register count on performance and cost.

Contextual Notes

The discussion highlights limitations in the original question's clarity and scope, as well as the dependence on definitions of performance and cost. There are unresolved assumptions about the relationship between register count and processor capabilities.

Rizz84
Messages
1
Reaction score
0
Hello Friends,
I wana ask that if two processors Processor01 and Processor02 have same number of components but Processor01 had 16 registers on the other hand Processor02 has 64 registers. Which processor is best in terms of its speed, size and cost?

Take Care
 
Engineering news on Phys.org
Rizz84 said:
Hello Friends,
I wana ask that if two processors Processor01 and Processor02 have same number of components but Processor01 had 16 registers on the other hand Processor02 has 64 registers. Which processor is best in terms of its speed, size and cost?

Take Care

poorly defined question

best for what?

what FUNCTIONALITY differences are there?

Numerous other pertinent questions.

VERY vague question
 
get a TI99 TMS99 has as many registers as you tell it it has.
 
jim hardy said:
get a TI99 TMS99 has as many registers as you tell it it has.

Uh ... in what way is this an answer to the OP's question?
 
Assuming you wanted to know, which is better between a 16-bit processor and a 64-bit processor, 64-bit will be faster, have larger size and higher cost.

N.B.: An N-bit processor does not necessarily mean it has N registers. It means almost all of its registers have width of N-bits (in other words can store N-bit data).
 
here would be an answer from 1970's .

a large number of registers is a covenience to the programmer.
it eases multitasking because in a context switch one must preserve the stack so he can return to the interrupted process.

so in a realtime(interrupt driven) environment one may realize a benefit from a lot of registers. less CPU time wasted storing and retrieving stacks and less stack overflow crashes.

some machines can use ANY memory location as a register.
some have only one set of registers.
i liked the old TMS99 micro bcause you assign any memory location as the beginning of the stack and it operates from there. in the hands of a good programmer it excelled at context switching.

i think your question is about machine architecture, and it's analogous to a building: more bricks isn't necessarily better. It's how are they arranged?

cost of the processor is probably trivial compared to software cost.

to you newer guys - is my basic premise still true?

i'm sure i don't even have the vocabulary to discuss the new stuff.

[ smart RS232 ports? What's next ! ]
 
Last edited:

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
Replies
35
Views
8K
Replies
12
Views
9K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
60
Views
18K