Unit 4 Flashcards

1
Q

When adding operands with blank, overflow cannot occur.

A

different signs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

There are similar restrictions to the occurrence of overflow during subtract, but it’s just the opposite principle: when the signs of the operands are the blank, overflow cannot occur.

A

same

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Blank occurs in subtraction when we subtract a negative number from a positive number and get a negative result, or when we subtract a positive number from a negative number and get a positive result.

A

Overflow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Hardware that performs addition, subtraction, and usually logical operations such as AND and OR

A

Arithmetic Logic Unit (ALU)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which LEGv8 load instructions should be generated for byte and halfword arithmetic operations?

A

LDURB, LDURH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which LEGv8 arithmetic instructions should be generated for byte and halfword arithmetic operations?

A

ADD, SUB, MUL, DIV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which LEGv8 store instructions should be generated for byte and halfword arithmetic operations?

A

STURB, STURH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In multiplication, the first operand is called the blank and the second the blank. The final result is called the blank.

A

multiplicand
multiplier
product

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In fact, if we ignore the sign bits, the length of the multiplication of an n-bit multiplicand and an m-bit multiplier is a product that is blank long. That is, blank are required to represent all possible products.

A

n + m bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

To produce a properly signed or unsigned 128-bit product, LEGv8 has three instructions: blank, blank and blank

A

multiply (MUL)
signed multiply high (SMULH)
unsigned multiply high (UMULH)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Divide’s two operands, called the blank and blank, and the result, called the blank, are accompanied by a second result, called the blank.

A

dividend and divisor
quotient
remainder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A number being divided.

A

Dividend

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A number that the dividend is divided by.

A

Divisor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The primary result of a division; a number that when multiplied by the divisor and added to the remainder produces the dividend.

A

Quotient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The secondary result of a division; a number that when added to the product of the quotient and the divisor produces the dividend.

A

Remainder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A notation that renders numbers with a single digit to the left of the decimal point.

A

Scientific notation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

A number in floating-point notation that has no leading 0s.

A

Normalized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Computer arithmetic that represents numbers in which the binary point is not fixed.

A

Floating point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

The value, generally between 0 and 1, placed in the fraction field. The fraction is also called the mantissa.

A

Fraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

In the numerical representation system of floating-point arithmetic, the value that is placed in the exponent field

A

Exponent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

A situation in which a positive exponent becomes too large to fit in the exponent field.

A

Overflow (floating-point)

22
Q

A situation in which a negative exponent becomes too large to fit in the exponent field.

A

Underflow (floating-point)

23
Q

A floating-point value represented in a 64-bit doubleword.

A

Double precision

24
Q

A floating-point value represented in a 32-bit word.

A

Single precision

25
Also called interrupt. An unscheduled event that disrupts program execution; used to detect overflow.
Exception
26
An exception that comes from outside of the processer. (Some architectures use the term interrupt for all exceptions.
Interrupt
27
This symbol is NaN, for blank. The purpose of NaNs is to allow programmers to postpone some tests and decisions to a later time in the program when they are convenient.
Not a Number
28
LEGv8 supports the IEEE 754 single-precision and double-precision formats with these instructions
Floating-point addition, single (FADDS) and addition, double (FADDD) Floating-point subtraction, single (FSUBS) and subtraction, double (FSUBD) Floating-point multiplication, single (FMULS) and multiplication, double (FMULD) Floating-point division, single (FDIVS) and division, double (FDIVD) Floating-point comparison, single (FCMPS) and comparison, double (FCMPD), with the condition codes given slightly different interpretations
29
The first of two extra bits kept on the right during intermediate calculations of floating-point numbers; used to improve rounding accuracy.
Guard
30
Method to make the intermediate floating-point result fit the floating-point format; the goal is typically to find the nearest number that can be represented in the format. It is also the name of the second of two extra bits kept on the right during intermediate floating-point calculations, which improves rounding accuracy.
Round
31
The number of bits in error in the least significant bits of the significand between the actual number and the number that can be represented.
Units in the last place (ulp)
32
A bit used in rounding in addition to guard and round that is set whenever there are nonzero bits to the right of the round bit.
Sticky bit
33
Fused multiply add: A floating-point instruction that performs both a multiply and an add, but rounds only once after the add.
Fused multiply add
34
Given that the parallelism occurs within a wide word, the extensions are classified as blank. It is also classified under the more general name of data level parallelism. They are known as well as vector or SIMD, for single instruction, multiple data (see COD Section 6.6 (Introduction to graphics processing units)).
subword parallelism
35
ARMv8 added _____-bit registers to support subword parallelism.
128
36
The add instruction, ADD, includes support for 8-bit, 16-bit, 32-bit, 64-bit, and 128-bit numbers. Operands can be integers, but not blank
floating point numbers
37
Number of assembly-language integer arithmetic and floating-point instructions in ARMv8
63
38
Floating-point multiply instruction that produces a negative product
FNMUL
39
Number of ARMv8 arithmetic core instructions
15
40
Conditional compare that only compares if the initial condition is true
FCCMP
41
ARMv8 has _____ assembly-language SIMD instructions.
245
42
Which SIMD instruction version means the width of the elements in the destination register is twice the width of the elements in all source registers?
long
43
Each SIMD version is denoted by a _____.
suffix
44
The prefixes U, S, and F refer to _____
data types
45
Wide means the width of the elements in the destination register and the first source registers is twice the width of the elements in the second source register.
Wide
46
Blank means the width of the elements in the destination register is twice the width of the elements in all source registers.
Long
47
Blank means the width of the elements in the destination register is half the width of the elements in all source registers.
Narrow
48
IEEE 754 is a _____ for floating-point representation and computation.
standard
49
The field of _____ examines how to solve mathematical problems using imprecision and limited representation of data.
numerical analysis
50
A situation where an operation yields a number that is too small to represent with the fixed number of bits available is called _____.
underflow