AMD 3200 Revision History - Page 37

VPEXTRQ, VPINSRQ, Signal, Invalid-Opcode, Exception

Page 37 highlights

48063 Rev. 3.18 October 2012 Revision Guide for AMD Family 15h Models 00h-0Fh Processors 592 VPEXTRQ and VPINSRQ May Not Signal Invalid-Opcode Exception Description Advanced Vector Extensions (AVX) variants of legacy SSE instructions normally promote the size of a GPR operand using VEX.W. When running in 32-bit legacy or compatibility modes, setting VEX.W=1 is nonsensical and VEX.W is ignored. VPEXTRQ and VPINSRQ are an exception to that general rule and are specified to generate a Invalid-Opcode (#UD) exception. In violation of this, the processor does not signal #UD exception for AVX instructions VPEXTRQ and VPINSRQ when VEX.W=1 and the processor is running in 32-bit legacy or compatibility modes. Instead, the instruction is executed as if VEX.W=0. Potential Effect on System None expected. These opcode encodings are not expected to be generated by software. Suggested Workaround Software should only generate VPEXTRQ and VPINSRQ instructions with VEX.W=0 when operating in 32-bit modes and not depend on generating a #UD with VEX.W=1. Fix Planned Yes Product Errata 37

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91

592
VPEXTRQ
and
VPINSRQ
May
Not
Signal
Invalid-Opcode
Exception
Description
Advanced
Vector
Extensions
(
AVX
variants
of
legacy
SSE
instructions
normally
promote
the
size
of
a
GPR
operand
using
VEX
.
W
.
When
running
in
32
-bit
legacy
or
compatibility
modes
,
setting
VEX
.
W
=1
is
nonsensical
and
VEX
.
W
is
ignored
.
VPEXTRQ
and
VPINSRQ
are
an
exception
to
that
general
rule
and
are
specified
to
generate
a
Invalid-Opcode
(#
UD
exception
.
In
violation
of
this
,
the
processor
does
not
signal
#
UD
exception
for
AVX
instructions
VPEXTRQ
and
VPINSRQ
when
VEX
.
W
=1
and
the
processor
is
running
in
32
-bit
legacy
or
compatibility
modes
.
Instead
,
the
instruction
is
executed
as
if
VEX
.
W
=0.
Potential
Effect
on
System
None
expected
.
These
opcode
encodings
are
not
expected
to
be
generated
by
software
.
Suggested
Workaround
Software
should
only
generate
VPEXTRQ
and
VPINSRQ
instructions
with
VEX
.
W
=0
when
operating
in
32
-bit
modes
and
not
depend
on
generating
a
#
UD
with
VEX
.
W
=1.
Fix
Planned
Yes
48063
Rev
. 3.18
October
2012
Revision
Guide
for
AMD
Family
15
h
Models
00
h-
0
Fh
Processors
Product
Errata
37