Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What operation is faster? + - * /

Status
Not open for further replies.

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
50,015
Helped
14,496
Reputation
29,262
Reaction score
13,425
Trophy points
1,393
Location
Bochum, Germany
Activity points
287,076
Is the question related to microcontrollers or did you post in the wrong section?

In the former case, you would look for the instruction set description of your microcontroller first, does it support hardware multiply and division, and if so, which word length and what are the ececution times.

Generally speaking, add and sub are the same, multiply is slower and division much slower. Therefore, algorithm designer are trying to use multiply instead of division whereever possible.

Take a look on the basics of binary arithmetics to understand the speed differences. https://en.wikipedia.org/wiki/Binary_arithmetic
 

GreenAce92

Member level 4
Joined
May 6, 2010
Messages
70
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Buffalo, NY
Activity points
2,032
I'm trying to use it for microcontrollers but that's good to know about instruction set, I'm looking for spatial computation microcontroller/processing for mapping and measuring/predicting based on heading, momentum, size, etc... the faster the better
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top