Questions tagged [mips64]
118 questions
2
votes
1 answer
Difference between single and double precision instructions
We all know that MIPS FPU has two precisions, single or double. When I looked it in the instruction set, I found for a same operation, the instruction for single precision and double precision have no different.
For example, here from the MIPS…

Shuaiyu Jiang
- 239
- 1
- 3
- 15
2
votes
1 answer
In MIPS TLBs, is it possible for two entries to be identical except for the ASID field?
Is it possible to map two entries with the same virtual address and physical address except that the ASIDs are different?

byslexia
- 329
- 2
- 8
1
vote
0 answers
Bootstrapping mono on an OCTEON (mips64) gives a working runtime, but gmcs doesn't work
I'm trying to compile mono (from git) for a Cavium OCTEON (mips64) running Debian Sid.
If I try to compile entirely on the OCTEON, (without any kind of existing mono install), it gets as far as the mcs directory and then hits trouble. The problems…

Russell Davies
- 51
- 4
1
vote
1 answer
Error When Cross Compiling gnutls
I am trying to cross compile gnutls. Gnutls depends on libnettle. I was able to cross compile libnettle, however, when trying to cross compile gnutls, I encounter an error during configure:
configure: error: Libnettle 2.2 was not found.
The…

tommy
- 11
- 1
- 2
1
vote
0 answers
How do I assign an address to a label? WinMIPS64
Everything runs well until I reach lw r9, 0(r7) because I dont have the address of the labels. How do I make it so I can store the address of the labels and jump to the label?
Im supposed to make it work in WinMIPS64
//C code
switch (k){
…

Inzen
- 21
- 4
1
vote
1 answer
buildroot,how to set the host platform architecture
I want to build a cross compile toolchain by buildroot, the build platform architecture is x86, the host platform architecture is mips, and the target platform architecture is mips64, so how should i configure the buildroot? I can't find…

nima
- 27
- 7
1
vote
1 answer
Boost.asio compilation problem: undefined reference to `__sync_add_and_fetch_8
Hey guys,
This could be a noob question, but I really can't find any useful solution through Google.
I'm testing a hello world with boost.asio, the program is quite simple:
#include
#include
#include…

Tony
- 453
- 4
- 7
- 16
1
vote
1 answer
When writing in MIPS, I am unsure whether to use li or addi. I am still unclear what the difference is.
For example, I have a piece of C code that I am trying to convert to MIPS for practice, but for the variable count, I don't know whether to use addi $t0,0 or li $t0, 0. Could I use either either or? And what is the difference?
Void haarPredict…

LiveToLearn
- 163
- 1
- 2
- 12
1
vote
0 answers
`objdump` MIPS64 Instruction Encoding—Nonexistent Instruction?
I have a MIPS64 binary (readelf tells me it's release 2), and using a corresponding objdump I can see that the first instruction of __start is:
1200009a0: 03e00025 move zero,ra
I do not understand this. Looking at the ISA[note], the opcode…

geometrian
- 14,775
- 10
- 56
- 132
1
vote
1 answer
"Memory limits" using sw in mips
Lets say i have the following command in MIPS:
sw $t0, 0($sp) # $sp=-4
Does that mean that the register $t0 is saved from 0 to -3 byte or from -4 to -7 byte ?

John
- 81
- 2
- 12
1
vote
0 answers
Displaying assembly at CLion
How can I see an assembly of C/C++ code at CLion IDE of JetBrains?
Can I configure to see specific assembly type (MIPS assembly)?

sunny
- 1,887
- 3
- 29
- 40
1
vote
0 answers
MIPS Error : Cannot write directly to text segment!0x00500000
I'm trying to do a mips interactive exercise (BubbleSort). I have to read 20 integers from the user and store them into an array,then sort the array with the method of BUBBLESORT.
I have a problem with storing the integers into the array.
Here is a…

Sofiene Fehri
- 43
- 4
1
vote
0 answers
how to read the instructions from pcie bus through mmio regions without actually copying them to the local dram?
Is there a way to fetch the instructions from a target board's memory area(which is also a multicore processor) which is accessed through MMIO regions(through PCIe interface), without actually copying them to the host's local DRAM?
I tried to update…

Raj
- 41
- 5
1
vote
0 answers
small opensource os for Octeon SoC (MIPS64)
I'm looking for a small (<16MB on flash) open source os, preferrably a linux distribution to run on a Cavium Octeon SoC (MIPS64). Hardware also limits me to either run from memory (and preferrably be able to install from there) or use a network…

Mendax
- 11
- 2
1
vote
1 answer
Expand variable number of arguments in memory to argument space
I have a function that takes a memory address as $a0 and I access the (variable) number of words by using x($a0), where x is multiples of 8. I need to store these in the $sp register so I can use the $a0 register for passing arguments to other…

sff
- 73
- 3