Linked by Thom Holwerda on Mon 5th Dec 2011 22:48 UTC
PDAs, Cellphones, Wireless Cheap Android tablets are all over the place, and generally not any good. They often have resistive touch screens instead of capacitive ones, are slow, or have no access to the Android Market. For Ice Cream Sandwich, MIPS Technologies is trotting out its existing Honeycomb tablet - which, you guessed it, uses a MIPS processor - licensed to Ainovo. For some reason, that makes this $99 tablet with capacitive screen kind of interesting.
Permalink for comment 499155
To read all comments associated with this story, please click here.
RE[2]: MIPS!
by Alfman on Tue 6th Dec 2011 17:33 UTC in reply to "RE: MIPS!"
Alfman
Member since:
2011-01-28

renox,

"I also prefer MIPS ISA because it can trap on integer overflow which is nice for efficient Ada compilation. "

You may be right about mips handling overflow better than x86, but I actually don't mind the way the x86 does it.

ADD [edi], dword 5 # cause overflow
JO xyz # optionally handle overflow
INTO # generate an interrupt on overflow
ADC [edi+4], dword 0 # add carry
CMOVO [edi], ... # clip the range
# do nothing, modulo arithmetic is often desirable.


"But unfortunately nearly nobody use a language with this (nice) behaviour instead of stupid C/C++ or Java's behaviour on integer overflow, so it doesn't really matter"


I share the same gripe of the C language. It offers no way to use or act upon the overflow, leading to less efficient algorithms.

Also, I think modulo arithmetic should be made explicit. Languages like C/Java that implicitly discard overflow information lead to bugs regardless of architecture. New languages should automatically assert errors on overflow unless told to do otherwise.

Reply Parent Score: 2