Skip to content

Commit 8d44519

Browse files
author
Michael Blome
committed
replaced vcprx64_md.md token with x64
1 parent ac17c9b commit 8d44519

File tree

138 files changed

+195
-195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+195
-195
lines changed

docs/assembler/inline/inline-assembler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ms.workload: ["cplusplus"]
1919
> [!NOTE]
2020
> Programs with inline assembler code are not fully portable to other hardware platforms. If you are designing for portability, avoid using inline assembler.
2121
22-
Inline assembly is not supported on the ARM and [!INCLUDE[vcprx64](../../assembler/inline/includes/vcprx64_md.md)] processors. The following topics explain how to use the Visual C/C++ inline assembler with x86 processors:
22+
Inline assembly is not supported on the ARM and x64 processors. The following topics explain how to use the Visual C/C++ inline assembler with x86 processors:
2323

2424
- [Inline Assembler Overview](../../assembler/inline/inline-assembler-overview.md)
2525

docs/assembler/masm/microsoft-macro-assembler-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The Microsoft Macro Assembler (MASM) provides several advantages over inline ass
3434
Provides links to websites that may contain programming information about processors that are not manufactured, sold, or supported by Microsoft.
3535

3636
[MASM for x64 (ml64.exe)](../../assembler/masm/masm-for-x64-ml64-exe.md)
37-
Information about how to create output files for [!INCLUDE[vcprx64](../../assembler/inline/includes/vcprx64_md.md)].
37+
Information about how to create output files for x64.
3838

3939
## Related Sections
4040
[Visual C++](../../visual-cpp-in-visual-studio.md)

docs/build/dynamic-parameter-stack-area-construction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.author: "corob"
1111
ms.workload: ["cplusplus"]
1212
---
1313
# Dynamic Parameter Stack Area Construction
14-
If a frame pointer is used, the option exists to dynamically create the parameter stack area. This is not currently done in the [!INCLUDE[vcprx64](../assembler/inline/includes/vcprx64_md.md)] compiler.
14+
If a frame pointer is used, the option exists to dynamically create the parameter stack area. This is not currently done in the x64 compiler.
1515

1616
## See Also
1717
[Stack Usage](../build/stack-usage.md)

docs/build/exception-handling-x64.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: "corob"
1212
ms.workload: ["cplusplus"]
1313
---
1414
# Exception Handling (x64)
15-
This section discusses structured exception handling and C++ exception handling behavior on the [!INCLUDE[vcprx64](../assembler/inline/includes/vcprx64_md.md)].
15+
This section discusses structured exception handling and C++ exception handling behavior on the x64.
1616

1717
- [Unwind Data for Exception Handling, Debugger Support](../build/unwind-data-for-exception-handling-debugger-support.md)
1818

docs/build/intrinsics-and-inline-assembly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.author: "corob"
1111
ms.workload: ["cplusplus"]
1212
---
1313
# Intrinsics and Inline Assembly
14-
One of the constraints for the [!INCLUDE[vcprx64](../assembler/inline/includes/vcprx64_md.md)] compiler is to have no inline assembler support. This means that functions that cannot be written in C or C++ will either have to be written as subroutines or as intrinsic functions supported by the compiler. Certain functions are performance sensitive while others are not. Performance-sensitive functions should be implemented as intrinsic functions.
14+
One of the constraints for the x64 compiler is to have no inline assembler support. This means that functions that cannot be written in C or C++ will either have to be written as subroutines or as intrinsic functions supported by the compiler. Certain functions are performance sensitive while others are not. Performance-sensitive functions should be implemented as intrinsic functions.
1515

1616
The intrinsics supported by the compiler are described in [Compiler Intrinsics](../intrinsics/compiler-intrinsics.md).
1717

docs/build/overview-of-x64-calling-conventions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ ms.author: "corob"
1111
ms.workload: ["cplusplus"]
1212
---
1313
# Overview of x64 Calling Conventions
14-
Two important differences between x86 and [!INCLUDE[vcprx64](../assembler/inline/includes/vcprx64_md.md)] are the 64-bit addressing capability and a flat set of 16 64-bit registers for general use. Given the expanded register set, [!INCLUDE[vcprx64](../assembler/inline/includes/vcprx64_md.md)] uses the [__fastcall](../cpp/fastcall.md) calling convention and a RISC-based exception-handling model. The `__fastcall` convention uses registers for the first four arguments and the stack frame to pass additional arguments.
14+
Two important differences between x86 and x64 are the 64-bit addressing capability and a flat set of 16 64-bit registers for general use. Given the expanded register set, x64 uses the [__fastcall](../cpp/fastcall.md) calling convention and a RISC-based exception-handling model. The `__fastcall` convention uses registers for the first four arguments and the stack frame to pass additional arguments.
1515

16-
The following compiler option helps you optimize your application for [!INCLUDE[vcprx64](../assembler/inline/includes/vcprx64_md.md)]:
16+
The following compiler option helps you optimize your application for x64:
1717

1818
- [/favor (Optimize for Architecture Specifics)](../build/reference/favor-optimize-for-architecture-specifics.md)
1919

2020
## Calling convention
21-
The [!INCLUDE[vcprx64](../assembler/inline/includes/vcprx64_md.md)] Application Binary Interface (ABI) uses a four register fast-call calling convention by default. Space is allocated on the call stack as a shadow store for callees to save those registers. There is a strict one-to-one correspondence between the arguments to a function call and the registers used for those arguments. Any argument that doesn’t fit in 8 bytes, or is not 1, 2, 4, or 8 bytes, must be passed by reference. There is no attempt to spread a single argument across multiple registers. The x87 register stack is unused. It may be used by the callee, but must be considered volatile across function calls. All floating point operations are done using the 16 XMM registers. Integer arguments are passed in registers RCX, RDX, R8, and R9. Floating point arguments are passed in XMM0L, XMM1L, XMM2L, and XMM3L. 16-byte arguments are passed by reference. Parameter passing is described in detail in [Parameter Passing](../build/parameter-passing.md). In addition to these registers, RAX, R10, R11, XMM4, and XMM5 are considered volatile. All other registers are non-volatile. Register usage is documented in detail in [Register Usage](../build/register-usage.md) and [Caller/Callee Saved Registers](../build/caller-callee-saved-registers.md).
21+
The x64 Application Binary Interface (ABI) uses a four register fast-call calling convention by default. Space is allocated on the call stack as a shadow store for callees to save those registers. There is a strict one-to-one correspondence between the arguments to a function call and the registers used for those arguments. Any argument that doesn’t fit in 8 bytes, or is not 1, 2, 4, or 8 bytes, must be passed by reference. There is no attempt to spread a single argument across multiple registers. The x87 register stack is unused. It may be used by the callee, but must be considered volatile across function calls. All floating point operations are done using the 16 XMM registers. Integer arguments are passed in registers RCX, RDX, R8, and R9. Floating point arguments are passed in XMM0L, XMM1L, XMM2L, and XMM3L. 16-byte arguments are passed by reference. Parameter passing is described in detail in [Parameter Passing](../build/parameter-passing.md). In addition to these registers, RAX, R10, R11, XMM4, and XMM5 are considered volatile. All other registers are non-volatile. Register usage is documented in detail in [Register Usage](../build/register-usage.md) and [Caller/Callee Saved Registers](../build/caller-callee-saved-registers.md).
2222

2323
The caller is responsible for allocating space for parameters to the callee, and must always allocate sufficient space to store four register parameters, even if the callee doesn’t take that many parameters. This simplifies support for unprototyped C-language functions, and vararg C/C++ functions. For vararg or unprototyped functions, any floating point values must be duplicated in the corresponding general-purpose register. Any parameters beyond the first four must be stored on the stack, above the shadow store for the first four, prior to the call. Vararg function details can be found in [Varargs](../build/varargs.md). Unprototyped function information is detailed in [Unprototyped Functions](../build/unprototyped-functions.md).
2424

docs/build/predefined-rules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Predefined inference rules use NMAKE-supplied command and options macros.
1818
|----------|-------------|------------------------|--------------------|----------------------------|
1919
|.asm.exe|$(AS) $(AFLAGS) $<|ml $<|no|x86|
2020
|.asm.obj|$(AS) $(AFLAGS) /c $<|ml /c $<|yes|x86|
21-
|.asm.exe|$(AS) $(AFLAGS) $<|ml64 $<|no|[!INCLUDE[vcprx64](../assembler/inline/includes/vcprx64_md.md)]|
22-
|.asm.obj|$(AS) $(AFLAGS) /c $<|ml64 /c $<|yes|[!INCLUDE[vcprx64](../assembler/inline/includes/vcprx64_md.md)]|
21+
|.asm.exe|$(AS) $(AFLAGS) $<|ml64 $<|no|x64|
22+
|.asm.obj|$(AS) $(AFLAGS) /c $<|ml64 /c $<|yes|x64|
2323
|.c.exe|$(CC) $(CFLAGS) $<|cl $<|no|all|
2424
|.c.obj|$(CC) $(CFLAGS) /c $<|cl /c $<|yes|all|
2525
|.cc.exe|$(CC) $(CFLAGS) $<|cl $<|no|all|

docs/build/reference/compiler-options-listed-alphabetically.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The following is a comprehensive alphabetical list of compiler options. For a ca
3737
|[/errorReport](errorreport-report-internal-compiler-errors.md)|Allows you to provide internal compiler error (ICE) information directly to the Visual C++ team.|
3838
|[/execution-charset](execution-charset-set-execution-character-set.md)|Set execution character set.|
3939
|[/F](f-set-stack-size.md)|Sets stack size.|
40-
|[/favor](favor-optimize-for-architecture-specifics.md)|Produces code that is optimized for a specific [!INCLUDE[vcprx64](../../assembler/inline/includes/vcprx64_md.md)] architecture or for the specifics of micro-architectures in both the AMD64 and Extended Memory 64 Technology (EM64T) architectures.|
40+
|[/favor](favor-optimize-for-architecture-specifics.md)|Produces code that is optimized for a specific x64 architecture or for the specifics of micro-architectures in both the AMD64 and Extended Memory 64 Technology (EM64T) architectures.|
4141
|[/FA](fa-fa-listing-file.md)|Creates a listing file.|
4242
|[/Fa](fa-fa-listing-file.md)|Sets the listing file name.|
4343
|[/FC](fc-full-path-of-source-code-file-in-diagnostics.md)|Display full path of source code files passed to cl.exe in diagnostic text.|
@@ -75,7 +75,7 @@ The following is a comprehensive alphabetical list of compiler options. For a ca
7575
|[/Gz](gd-gr-gv-gz-calling-convention.md)|Uses the `__stdcall` calling convention (x86 only).|
7676
|[/H](h-restrict-length-of-external-names.md)|Deprecated. Restricts the length of external (public) names.|
7777
|[/HELP](help-compiler-command-line-help.md)|Lists the compiler options.|
78-
|[/homeparams](homeparams-copy-register-parameters-to-stack.md)|Forces parameters passed in registers to be written to their locations on the stack upon function entry. This compiler option is only for the [!INCLUDE[vcprx64](../../assembler/inline/includes/vcprx64_md.md)] compilers (native and cross compile).|
78+
|[/homeparams](homeparams-copy-register-parameters-to-stack.md)|Forces parameters passed in registers to be written to their locations on the stack upon function entry. This compiler option is only for the x64 compilers (native and cross compile).|
7979
|[/hotpatch](hotpatch-create-hotpatchable-image.md)|Creates a hotpatchable image.|
8080
|[/I](i-additional-include-directories.md)|Searches a directory for include files.|
8181
|[/J](j-default-char-type-is-unsigned.md)|Changes the default `char` type.|

docs/build/reference/compiler-options-listed-by-category.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This article contains a categorical list of compiler options. For an alphabetica
5959
|[/Gy](gy-enable-function-level-linking.md)|Enables function-level linking.|
6060
|[/GZ](gz-enable-stack-frame-run-time-error-checking.md)|Deprecated. Enables fast checks. (Same as [/RTC1](rtc-run-time-error-checks.md))|
6161
|[/Gz](gd-gr-gv-gz-calling-convention.md)|Uses the `__stdcall` calling convention. (x86 only)|
62-
|[/homeparams](homeparams-copy-register-parameters-to-stack.md)|Forces parameters passed in registers to be written to their locations on the stack upon function entry. This compiler option is only for the [!INCLUDE[vcprx64](../../assembler/inline/includes/vcprx64_md.md)] compilers (native and cross compile).|
62+
|[/homeparams](homeparams-copy-register-parameters-to-stack.md)|Forces parameters passed in registers to be written to their locations on the stack upon function entry. This compiler option is only for the x64 compilers (native and cross compile).|
6363
|[/hotpatch](hotpatch-create-hotpatchable-image.md)|Creates a hotpatchable image.|
6464
|[/Qfast_transcendentals](qfast-transcendentals-force-fast-transcendentals.md)|Generates fast transcendentals.|
6565
|[QIfist](qifist-suppress-ftol.md)|Deprecated. Suppresses the call of the helper function `_ftol` when a conversion from a floating-point type to an integral type is required. (x86 only)|

docs/build/reference/favor-optimize-for-architecture-specifics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ms.workload: ["cplusplus"]
3737
> [!NOTE]
3838
> Intel64 architecture was previously known as Extended Memory 64 Technology, and the corresponding compiler option was **/favor:EM64T**.
3939
40-
For information about how to program for the [!INCLUDE[vcprx64](../../assembler/inline/includes/vcprx64_md.md)] architecture, see [x64 Software Conventions](../../build/x64-software-conventions.md).
40+
For information about how to program for the x64 architecture, see [x64 Software Conventions](../../build/x64-software-conventions.md).
4141

4242
### To set this compiler option in the Visual Studio development environment
4343

0 commit comments

Comments
 (0)