sparc Questions
2
I had just a look at a very simple SPARC assembly output that I got from this C programm:
int addition_func(int a, int b)
{
return(a+b);
}
void main()
{
int a = 20;
int b = 19;
int res;
res =...
Spiro asked 21/7, 2010 at 15:4
4
Solved
When a out-of-order processor encounters something like
LOAD R1, 0x1337
LOAD R2, $R1
LOAD R3, 0x42
Assuming that all accesses will result in a cache miss, can the processor ask the memory contro...
Freed asked 20/9, 2012 at 12:47
1
Solved
I have a M5000 Sparc server which I have installed a solaris Os version 11.3 (SunOS RT5 5.11 11.3 sun4u sparc SUNW,SPARC-Enterprise) on it. Is it possible to install docker-ce on this machine? I ha...
2
Solved
I coded a little program that measures the time spent into a loop (via an inline Sparc assembly code snippet).
Everything is right until I set number of iterations above roughly 4.0+9 (above 2^32)....
Decommission asked 2/8, 2017 at 8:30
10
Solved
I've been curious in the past few months in trying my hand at doing some assembly for the SPARC processor (either V8 or V9). My question is this, I have no access to a SPARC machine, is there a way...
3
So here's the situation: I need to be able to compile binaries from a Linux machine (on Ubuntu, for what it's worth) which are able to run from a SPARC server. The program I'm trying to compile is ...
Macgregor asked 1/10, 2013 at 14:27
1
Solved
I am learning SPARC assembly with a simple example that you can see below. I have several questions about this example which shows passing parameters for a procedure.
In main section, I set 5 to f...
1
Solved
I am currently studying computer science, and one of my required courses covers "computer organization and architecture" - or, in other words, an introduction to assembly language. This particular ...
2
Solved
I'm writing a small assembly routine called isOdd, which, as the name implies, returns if the passed integer is odd, by returning 1 from a % operation.
This is my code so far:
Function prototype:...
2
Solved
I know that when you read %r0 in SPARC CPU (and MIPS), always return 0, but I like to know Why ?
What design decision is behind this and why ?
Crenate asked 2/10, 2013 at 5:57
1
Solved
I have been looking at Boost libraries for development of a cross-platform network server library. It is supposed to be used on Windows/Linux/Solaris. Does boost support these three?
Only thing i ...
1
Solved
First off: I am not an expert, so please excuse any mistakes I make trying to explain myself.
I am trying to cross-compile an external Linux module for a SPARC machine using Sparc-Linux-GCC-4.4.2. ...
Rohrer asked 20/4, 2012 at 23:47
2
Solved
Here is the pseudo code which computes division of two positive integers.
HR register saves remainder, and LR saves dividend. (and eventually saves root)
However I think this algorithm has some p...
Laughton asked 10/10, 2011 at 4:10
8
Solved
We've been given a C++ code base that was apparently developed using Rational Apex as the front end. In our opinion, Apex is less than ideal for C++ development.
We're looking for an IDE we can us...
Grenoble asked 19/8, 2009 at 21:43
10
Solved
I'm wanting to convert the output from gethrtime to milliseconds.
The obvious way to do this is to divide by 1000000.
However, I'm doing this quite often and wonder if it could become a bottleneck...
1
© 2022 - 2024 — McMap. All rights reserved.