diff options
| author | Ali Chraghi <alichraghi@pm.me> | 2022-10-07 21:24:44 +0330 |
|---|---|---|
| committer | Ali Chraghi <alichraghi@pm.me> | 2022-11-04 00:09:27 +0330 |
| commit | f5f1f8c66625237e4eceb3cd40597a687e9a58ac (patch) | |
| tree | 913632d097ffcdeea739da3a2f9b5b023e0ba81c /doc | |
| parent | 678f3f6e65e8808520973912fb6c4d7dbca189fe (diff) | |
| download | zig-f5f1f8c66625237e4eceb3cd40597a687e9a58ac.tar.gz zig-f5f1f8c66625237e4eceb3cd40597a687e9a58ac.zip | |
all: rename i386 to x86
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 4097c7b67a..5d82a1df60 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -5126,7 +5126,7 @@ const builtin = @import("builtin"); const native_arch = builtin.cpu.arch; const expect = std.testing.expect; -const WINAPI: std.builtin.CallingConvention = if (native_arch == .i386) .Stdcall else .C; +const WINAPI: std.builtin.CallingConvention = if (native_arch == .x86) .Stdcall else .C; extern "kernel32" fn ExitProcess(exit_code: c_uint) callconv(WINAPI) noreturn; test "foo" { @@ -5165,7 +5165,7 @@ export fn sub(a: i8, b: i8) i8 { return a - b; } // at link time, when linking statically, or at runtime, when linking // dynamically. // The callconv specifier changes the calling convention of the function. -const WINAPI: std.builtin.CallingConvention = if (native_arch == .i386) .Stdcall else .C; +const WINAPI: std.builtin.CallingConvention = if (native_arch == .x86) .Stdcall else .C; extern "kernel32" fn ExitProcess(exit_code: u32) callconv(WINAPI) noreturn; extern "c" fn atan2(a: f64, b: f64) f64; @@ -7487,7 +7487,7 @@ volatile ( : "rcx", "r11" );{#end_syntax_block#} <p> - For i386 and x86_64 targets, the syntax is AT&T syntax, rather than the more + For x86 and x86_64 targets, the syntax is AT&T syntax, rather than the more popular Intel syntax. This is due to technical constraints; assembly parsing is provided by LLVM and its support for Intel syntax is buggy and not well tested. </p> @@ -11608,7 +11608,7 @@ Architectures: v5 v5te v4t - i386 + x86 x86_64 (native) xcore nvptx @@ -11687,8 +11687,8 @@ Available libcs: arm-linux-gnueabihf arm-linux-musleabi arm-linux-musleabihf - i386-linux-gnu - i386-linux-musl + x86-linux-gnu + x86-linux-musl mips64el-linux-gnuabi64 mips64el-linux-gnuabin32 mips64el-linux-musl |
