Summary unavailable.

Questions

Question 1

Under what condition does overflow occur during the addition of two positive 64-bit two's complement numbers?

View answer and explanation
Question 2

When can overflow NOT occur during the subtraction of two's complement numbers?

View answer and explanation
Question 3

If an n-bit multiplicand is multiplied by an m-bit multiplier, what is the required length of the product in bits, not including sign bits?

View answer and explanation
Question 4

In the sequential multiplication algorithm described, what action is determined by the least significant bit of the Multiplier register in each step?

View answer and explanation
Question 5

Which RISC-V instruction is used to obtain the upper 64 bits from the 128-bit product of two signed 64-bit operands?

View answer and explanation
Question 6

In the context of the division operation, what is the specific term for the number that the dividend is divided by?

View answer and explanation
Question 7

What is the established rule for determining the sign of a non-zero remainder in a signed division operation?

View answer and explanation
Question 8

What term is used to describe a number in scientific notation that has no leading zeros, such as 1.0 x 10 to the power of -9?

View answer and explanation
Question 9

What is the value of the bias used for single-precision floating-point numbers in the IEEE 754 standard?

View answer and explanation
Question 10

In the IEEE 754 standard, what is the value of the exponent bias for double-precision floating-point numbers?

View answer and explanation
Question 11

In the IEEE 754 standard, what special value is used to represent the result of an invalid operation, such as subtracting infinity from infinity?

View answer and explanation
Question 12

What is the first step in the algorithm for adding two floating-point numbers?

View answer and explanation
Question 13

When multiplying two floating-point numbers represented with biased exponents, how is the new exponent calculated?

View answer and explanation
Question 14

What is the primary precision advantage of using a fused multiply-add (FMA) instruction?

View answer and explanation
Question 15

Using subword parallelism, how many simultaneous operations on 16-bit operands can be performed within a 128-bit adder?

View answer and explanation
Question 16

In the context of x86 SSE/SSE2 instructions, what does the 'PS' suffix, such as in the ADDPS instruction, signify?

View answer and explanation
Question 17

What was the key architectural enhancement introduced by Intel's Advanced Vector Extensions (AVX) compared to the preceding SSE instructions?

View answer and explanation
Question 18

Which fundamental mathematical property does floating-point addition fail to uphold, as demonstrated by the example where ((-1.5 * 10 to the power of 38) + (1.5 * 10 to the power of 38)) + 1.0 yields a different result than (-1.5 * 10 to the power of 38) + ((1.5 * 10 to the power of 38) + 1.0)?

View answer and explanation
Question 19

What was the specific technical cause of the highly publicized Intel Pentium floating-point divide bug of 1994?

View answer and explanation
Question 20

According to the overflow conditions for addition and subtraction, which of these operations on Operand A and Operand B can result in an overflow?

View answer and explanation
Question 21

What is the approximate range of numbers that can be represented using RISC-V double-precision floating-point format?

View answer and explanation
Question 22

In the IEEE 754 standard for floating-point numbers, why is the leading 1 bit of a normalized binary number made implicit?

View answer and explanation
Question 23

What is the name of the compiler optimization technique that replaces a multiplication by a power of 2 with a more efficient shift instruction?

View answer and explanation
Question 24

In addition to doubling the register width to 256 bits, what new instruction format did the Advanced Vector Extensions (AVX) introduce to the x86 architecture?

View answer and explanation
Question 25

What are the names of the two extra bits that the IEEE 754 standard mandates be kept on the right during intermediate floating-point calculations to improve rounding accuracy?

View answer and explanation
Question 26

What does the 'sticky bit' help the computer to distinguish between when performing floating-point rounding?

View answer and explanation
Question 27

Which RISC-V instructions are used to handle division and remainder for unsigned integers?

View answer and explanation
Question 28

What is the primary purpose of a 'carry lookahead' adder design?

View answer and explanation
Question 29

What does the term 'saturating arithmetic' refer to?

View answer and explanation
Question 30

According to the refined multiplication hardware shown in Figure 3.5, where is the multiplier initially placed?

View answer and explanation
Question 31

In the IEEE 754 standard, what is the object represented when the exponent field is all ones and the fraction field is non-zero?

View answer and explanation
Question 32

The x86 vbroadcastsd instruction, used in the optimized DGEMM example, performs what function?

View answer and explanation
Question 33

What is a 'fallacy' regarding the use of a right shift instruction for integer division?

View answer and explanation
Question 34

In the refined division hardware (Figure 3.11), how is the Quotient register implemented?

View answer and explanation
Question 35

What is the primary advantage of double-precision floating-point numbers over single-precision?

View answer and explanation
Question 36

What does the RISC-V `remu` instruction compute?

View answer and explanation
Question 37

In the DGEMM example, the unoptimized C code is improved by using C intrinsics. What is the purpose of the `_mm256_load_pd()` intrinsic?

View answer and explanation
Question 38

The term 'gradual underflow' in the IEEE 754 standard is enabled by the use of what type of numbers?

View answer and explanation
Question 39

What is the function of the `fmadd.d` instruction in the RISC-V floating-point extension?

View answer and explanation
Question 40

When comparing the optimized AVX version of DGEMM to the unoptimized version on a 2.6 GHz Intel Core i7, what was the approximate speedup factor?

View answer and explanation
Question 41

What is the decimal value of the hexadecimal number 0C000000 if it represents a 32-bit two's complement integer?

View answer and explanation
Question 42

What decimal number is represented by the 32-bit single precision float with the binary representation '1 10000001 01000000000000000000000'?

View answer and explanation
Question 43

In the RISC-V floating-point architecture, what is a key difference between integer register x0 and floating-point register f0?

View answer and explanation
Question 44

What is the result of multiplying the 4-bit numbers 0010 (2) and 0011 (3) using the sequential algorithm from Figure 3.4?

View answer and explanation
Question 45

What does the 'ulp' (units in the last place) measure in the context of floating-point arithmetic?

View answer and explanation
Question 46

According to the IEEE 754 standard, how should a rounding case that is exactly halfway between two representable numbers be handled?

View answer and explanation
Question 47

What is the binary representation of -0.75 in single-precision IEEE 754 format?

View answer and explanation
Question 48

In the x86 instruction set, what does the suffix 'SD' signify in an instruction like `ADDSD`?

View answer and explanation
Question 49

What is the Big Picture concept reinforced by the fact that the same bit pattern can represent a signed integer, an unsigned integer, or a floating-point number?

View answer and explanation
Question 50

What architectural issue with the IBM S/360 and Cray computers, which was avoided in the IEEE 754 standard, caused rounding errors in addition and subtraction?

View answer and explanation