Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
Delphi
Anonymous Methods
BASM
Code Generation/Optimization
Error Recovery
Errors - Warnings
Exceptions
Execution
Finalization
Generics
Header Generation
Interaction with UI
Interfaces
Language
Linker
Make Logic
Memory Manager
OBJ Generation
OBJ Support
Other Compiler
Packages
RTTI
String Resources
TD Debug Info
Thread Local Storage
Version resilience
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/Delphi/BASM
[ Add a report in this area ]
Report #:
80128
Status:
Open
XGETBV instruction not recognised
Project:
Delphi
Build #:
14.0.3539.24502
Version:
14.0
Submitted By:
Philipp S
Report Type:
Basic functionality failure
Date Reported:
12/7/2009 1:21:09 PM
Severity:
Infrequently encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
273900
Resolution:
None
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
The assembly instruction XGETBV (Get Value of Extended Control Register; opcode 0F 01 D0) is not recognised by the assembler.
This instruction is used e.g. for checking whether the AVX instruction set can be used on a machine.
Reference:
Intel? 64 and IA-32 Architectures
Software Developer? Manual
Volume 2B:
Instruction Set Reference, N-Z
Steps to Reproduce:
asm
push ebx
mov eax,1
cpuid
bt ecx, 27 // CPUID.1:ECX.OSXSAVE[bit 27] = 1: XGETBV available and enabled for application use
jnc @not_supported
XGETBV // <- [DCC Error] E2003 Undeclared identifier: 'xgetbv'
@not_supported:
pop ebx
end;
Workarounds
db 0Fh, 01h, 0D0h //XGETBV
Attachment
None
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us