/external/llvm-project/llvm/lib/Target/X86/ |
D | X86InstrFoldTables.cpp | 1 //===-- X86InstrFoldTables.cpp - X86 Instruction Folding Tables -----------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file contains the X86 memory folding tables. 31 // because as new instruction are added into holes in the X86 opcode map they 36 { X86::ADD16ri8_DB, X86::ADD16mi8, TB_NO_REVERSE }, 37 { X86::ADD16ri_DB, X86::ADD16mi, TB_NO_REVERSE }, 38 { X86::ADD16rr_DB, X86::ADD16mr, TB_NO_REVERSE }, 39 { X86::ADD32ri8_DB, X86::ADD32mi8, TB_NO_REVERSE }, 40 { X86::ADD32ri_DB, X86::ADD32mi, TB_NO_REVERSE }, 41 { X86::ADD32rr_DB, X86::ADD32mr, TB_NO_REVERSE }, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InstrFoldTables.cpp | 1 //===-- X86InstrFoldTables.cpp - X86 Instruction Folding Tables -----------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file contains the X86 memory folding tables. 31 // because as new instruction are added into holes in the X86 opcode map they 36 { X86::ADD16ri8_DB, X86::ADD16mi8, TB_NO_REVERSE }, 37 { X86::ADD16ri_DB, X86::ADD16mi, TB_NO_REVERSE }, 38 { X86::ADD16rr_DB, X86::ADD16mr, TB_NO_REVERSE }, 39 { X86::ADD32ri8_DB, X86::ADD32mi8, TB_NO_REVERSE }, 40 { X86::ADD32ri_DB, X86::ADD32mi, TB_NO_REVERSE }, 41 { X86::ADD32rr_DB, X86::ADD32mr, TB_NO_REVERSE }, [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 1 //===-- X86InstrInfo.cpp - X86 Instruction Information --------------------===// 10 // This file contains the X86 implementation of the TargetInstrInfo class. 15 #include "X86.h" 44 #define DEBUG_TYPE "x86-instr-info" 55 " fuse, but the X86 backend currently can't"), 75 // (stored in bits 0 - 3) 76 TB_INDEX_0 = 0, 81 TB_INDEX_MASK = 0xf, 99 TB_ALIGN_NONE = 0 << TB_ALIGN_SHIFT, 103 TB_ALIGN_MASK = 0xff << TB_ALIGN_SHIFT [all …]
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/ |
D | X86GenRegisterInfo.inc | 18 namespace X86 { 305 } // end namespace X86 309 namespace X86 { 311 GR8RegClassID = 0, 431 } // end namespace X86 436 namespace X86 { 451 } // end namespace X86 472 /* 0 */ 0, 1, 0, 473 /* 3 */ 64871, 1, 1, 0, 474 /* 7 */ 65255, 1, 1, 0, [all …]
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | fp128-libcalls-strict.ll | 10 ; RUN: | FileCheck %s --check-prefix=X86 16 ; CHECK: # %bb.0: # %entry 22 ; X86-LABEL: add: 23 ; X86: # %bb.0: # %entry 24 ; X86-NEXT: pushl %edi 25 ; X86-NEXT: pushl %esi 26 ; X86-NEXT: subl $20, %esp 27 ; X86-NEXT: movl {{[0-9]+}}(%esp), %esi 28 ; X86-NEXT: subl $12, %esp 29 ; X86-NEXT: leal {{[0-9]+}}(%esp), %eax [all …]
|
D | atomic-idempotent.ll | 3 …-machineinstrs -mattr=+sse2 | FileCheck %s --check-prefixes=X86,X86-GENERIC,X86-SSE2 4 …y-machineinstrs -mcpu=slm -mattr=-sse2 | FileCheck %s --check-prefixes=X86,X86-GENERIC,X86-SLM 5 …y-machineinstrs -mcpu=goldmont -mattr=-sse2 | FileCheck %s --check-prefixes=X86,X86-GENERIC,X86-SLM 6 …y-machineinstrs -mcpu=knl -mattr=-sse2 | FileCheck %s --check-prefixes=X86,X86-GENERIC,X86-SLM 7 …86-- -verify-machineinstrs -mcpu=atom -mattr=-sse2 | FileCheck %s --check-prefixes=X86,X86-ATOM 9 ; On x86, an atomic rmw operation that does not modify the value in memory 10 ; (such as atomic add 0) can be replaced by an mfence followed by a mov. 16 ; X64: # %bb.0: 21 ; X86-SSE2-LABEL: add8: 22 ; X86-SSE2: # %bb.0: [all …]
|
D | fp128-libcalls.ll | 7 ; RUN: -enable-legalize-types-checking | FileCheck %s --check-prefix=X86 12 @vf128 = common global fp128 0xL00000000000000000000000000000000, align 16 16 ; CHECK: # %bb.0: # %entry 23 ; X86-LABEL: Test128Add: 24 ; X86: # %bb.0: # %entry 25 ; X86-NEXT: pushl %esi 26 ; X86-NEXT: subl $36, %esp 27 ; X86-NEXT: leal {{[0-9]+}}(%esp), %eax 28 ; X86-NEXT: pushl {{[0-9]+}}(%esp) 29 ; X86-NEXT: pushl {{[0-9]+}}(%esp) [all …]
|
D | atomic-non-integer.ll | 2 …linux-generic -verify-machineinstrs -mattr=sse | FileCheck %s --check-prefixes=X86,X86-SSE,X86-SSE1 3 …inux-generic -verify-machineinstrs -mattr=sse2 | FileCheck %s --check-prefixes=X86,X86-SSE,X86-SSE2 4 …ple=i386-linux-generic -verify-machineinstrs -mattr=avx | FileCheck %s --check-prefixes=X86,X86-AVX 5 …i386-linux-generic -verify-machineinstrs -mattr=avx512f | FileCheck %s --check-prefixes=X86,X86-AVX 6 … %s -mtriple=i386-linux-generic -verify-machineinstrs | FileCheck %s --check-prefixes=X86,X86-NOSSE 19 ; X86-LABEL: store_half: 20 ; X86: # %bb.0: 21 ; X86-NEXT: movzwl {{[0-9]+}}(%esp), %eax 22 ; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx 23 ; X86-NEXT: movw %ax, (%ecx) [all …]
|
D | popcnt.ll | 2 ; RUN: llc < %s -mtriple=i686-unknown | FileCheck %s --check-prefixes=X86,X86-NOSSE 4 ; RUN: llc < %s -mtriple=i686-unknown -mattr=+popcnt | FileCheck %s --check-prefix=X86-POPCNT 6 ; RUN: llc < %s -mtriple=i686-unknown -mattr=sse2 | FileCheck %s --check-prefixes=X86,X86-SSE2 7 ; RUN: llc < %s -mtriple=i686-unknown -mattr=ssse3 | FileCheck %s --check-prefixes=X86,X86-SSSE3 10 ; X86-LABEL: cnt8: 11 ; X86: # %bb.0: 12 ; X86-NEXT: movb {{[0-9]+}}(%esp), %cl 13 ; X86-NEXT: movl %ecx, %eax 14 ; X86-NEXT: shrb %al 15 ; X86-NEXT: andb $85, %al [all …]
|
D | atomic-fp.ll | 2 …lc < %s -mtriple=i686-unknown-unknown -verify-machineinstrs | FileCheck %s --check-prefix=X86-NOSSE 3 …triple=i686-unknown-unknown -mattr=sse -verify-machineinstrs | FileCheck %s --check-prefix=X86-SSE1 4 …riple=i686-unknown-unknown -mattr=sse2 -verify-machineinstrs | FileCheck %s --check-prefix=X86-SSE2 5 …mtriple=i686-unknown-unknown -mattr=avx -verify-machineinstrs | FileCheck %s --check-prefix=X86-AVX 6 …ple=i686-unknown-unknown -mattr=avx512f -verify-machineinstrs | FileCheck %s --check-prefix=X86-AVX 14 ; X86-NOSSE-LABEL: fadd_32r: 15 ; X86-NOSSE: # %bb.0: 16 ; X86-NOSSE-NEXT: subl $8, %esp 17 ; X86-NOSSE-NEXT: movl {{[0-9]+}}(%esp), %eax 18 ; X86-NOSSE-NEXT: movl (%eax), %ecx [all …]
|
D | umin.ll | 5 ; RUN: llc < %s -mtriple=i686 -mattr=cmov | FileCheck %s --check-prefix=X86 25 ; X64: # %bb.0: 32 ; X86-LABEL: test_i8: 33 ; X86: # %bb.0: 34 ; X86-NEXT: movl {{[0-9]+}}(%esp), %eax 35 ; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx 36 ; X86-NEXT: cmpb %al, %cl 37 ; X86-NEXT: cmovbl %ecx, %eax 38 ; X86-NEXT: # kill: def $al killed $al killed $eax 39 ; X86-NEXT: retl [all …]
|
D | smin.ll | 5 ; RUN: llc < %s -mtriple=i686 -mattr=cmov | FileCheck %s --check-prefix=X86 25 ; X64: # %bb.0: 32 ; X86-LABEL: test_i8: 33 ; X86: # %bb.0: 34 ; X86-NEXT: movl {{[0-9]+}}(%esp), %eax 35 ; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx 36 ; X86-NEXT: cmpb %al, %cl 37 ; X86-NEXT: cmovll %ecx, %eax 38 ; X86-NEXT: # kill: def $al killed $al killed $eax 39 ; X86-NEXT: retl [all …]
|
D | umax.ll | 5 ; RUN: llc < %s -mtriple=i686 -mattr=cmov | FileCheck %s --check-prefix=X86 25 ; X64: # %bb.0: 32 ; X86-LABEL: test_i8: 33 ; X86: # %bb.0: 34 ; X86-NEXT: movl {{[0-9]+}}(%esp), %eax 35 ; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx 36 ; X86-NEXT: cmpb %al, %cl 37 ; X86-NEXT: cmoval %ecx, %eax 38 ; X86-NEXT: # kill: def $al killed $al killed $eax 39 ; X86-NEXT: retl [all …]
|
D | smax.ll | 5 ; RUN: llc < %s -mtriple=i686 -mattr=cmov | FileCheck %s --check-prefix=X86 25 ; X64: # %bb.0: 32 ; X86-LABEL: test_i8: 33 ; X86: # %bb.0: 34 ; X86-NEXT: movl {{[0-9]+}}(%esp), %eax 35 ; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx 36 ; X86-NEXT: cmpb %al, %cl 37 ; X86-NEXT: cmovgl %ecx, %eax 38 ; X86-NEXT: # kill: def $al killed $al killed $eax 39 ; X86-NEXT: retl [all …]
|
D | bmi.ll | 2 … -mtriple=i686-unknown-unknown -mattr=+cmov,+bmi | FileCheck %s --check-prefixes=X86,X86-SLOW-BEXTR 3 …ple=i686-unknown-unknown -mattr=+cmov,+bmi,+bmi2 | FileCheck %s --check-prefixes=X86,X86-SLOW-BEXTR 6 …86-unknown-unknown -mattr=+cmov,+bmi,+fast-bextr | FileCheck %s --check-prefixes=X86,X86-FAST-BEXTR 10 ; X86-LABEL: andn32: 11 ; X86: # %bb.0: 12 ; X86-NEXT: movl {{[0-9]+}}(%esp), %eax 13 ; X86-NEXT: andnl {{[0-9]+}}(%esp), %eax, %eax 14 ; X86-NEXT: retl 17 ; X64: # %bb.0: 26 ; X86-LABEL: andn32_load: [all …]
|
D | fp80-strict-scalar-cmp.ll | 2 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=-sse -O3 | FileCheck %s --check-prefixes=X86 5 define i32 @test_oeq_q(i32 %a, i32 %b, x86_fp80 %f1, x86_fp80 %f2) #0 { 6 ; X86-LABEL: test_oeq_q: 7 ; X86: # %bb.0: 8 ; X86-NEXT: fldt {{[0-9]+}}(%esp) 9 ; X86-NEXT: fldt {{[0-9]+}}(%esp) 10 ; X86-NEXT: fucompp 11 ; X86-NEXT: wait 12 ; X86-NEXT: fnstsw %ax 13 ; X86-NEXT: # kill: def $ah killed $ah killed $ax [all …]
|
D | smul_fix_sat.ll | 3 ; RUN: llc < %s -mtriple=i686 -mattr=cmov | FileCheck %s --check-prefix=X86 12 ; X64: # %bb.0: 20 ; X64-NEXT: movl $2147483647, %edx # imm = 0x7FFFFFFF 23 ; X64-NEXT: movl $-2147483648, %eax # imm = 0x80000000 27 ; X86-LABEL: func: 28 ; X86: # %bb.0: 29 ; X86-NEXT: movl {{[0-9]+}}(%esp), %eax 30 ; X86-NEXT: imull {{[0-9]+}}(%esp) 31 ; X86-NEXT: shrdl $2, %edx, %eax 32 ; X86-NEXT: cmpl $1, %edx [all …]
|
D | fp-strict-scalar-round.ll | 2 …: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse4.1 -O3 | FileCheck %s --check-prefix=SSE41-X86 4 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+avx -O3 | FileCheck %s --check-prefix=AVX-X86 6 …N: llc < %s -mtriple=i686-unknown-unknown -mattr=+avx512f -O3 | FileCheck %s --check-prefix=AVX-X86 24 define float @fceil32(float %f) #0 { 25 ; SSE41-X86-LABEL: fceil32: 26 ; SSE41-X86: # %bb.0: 27 ; SSE41-X86-NEXT: pushl %eax 28 ; SSE41-X86-NEXT: .cfi_def_cfa_offset 8 29 ; SSE41-X86-NEXT: movss {{.*#+}} xmm0 = mem[0],zero,zero,zero 30 ; SSE41-X86-NEXT: roundss $10, %xmm0, %xmm0 [all …]
|
D | 3dnow-intrinsics.ll | 2 ; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+3dnow | FileCheck %s --check-prefix=X86 6 ; X86-LABEL: test_pavgusb: 7 ; X86: # %bb.0: # %entry 8 ; X86-NEXT: movl {{[0-9]+}}(%esp), %eax 9 ; X86-NEXT: pavgusb %mm1, %mm0 10 ; X86-NEXT: movq %mm0, (%eax) 11 ; X86-NEXT: retl $4 14 ; X64: # %bb.0: # %entry 19 %0 = bitcast x86_mmx %a.coerce to <8 x i8> 21 %2 = bitcast <8 x i8> %0 to x86_mmx [all …]
|
D | extract-lowbits.ll | 2 …own-linux-gnu -mattr=-bmi,-tbm,-bmi2 < %s | FileCheck %s --check-prefixes=CHECK,X86,NOBMI,X86-NOBMI 3 …r=+bmi,-tbm,-bmi2 < %s | FileCheck %s --check-prefixes=CHECK,X86,BMI1,X86-BMI1,BMI1NOTBM,X86-BMI1N… 4 …tr=+bmi,+tbm,-bmi2 < %s | FileCheck %s --check-prefixes=CHECK,X86,BMI1,X86-BMI1,BMI1TBM,X86-BMI1TBM 5 … | FileCheck %s --check-prefixes=CHECK,X86,BMI1,X86-BMI1,BMI1BMI2,X86-BMI1BMI2,BMI1TBM,X86-BMI1TBM… 6 …bmi2 < %s | FileCheck %s --check-prefixes=CHECK,X86,BMI1,X86-BMI1,BMI1BMI2,X86-BMI1BMI2,BMI1NOTBMB… 31 ; X86-NOBMI-LABEL: bzhi32_a0: 32 ; X86-NOBMI: # %bb.0: 33 ; X86-NOBMI-NEXT: movb {{[0-9]+}}(%esp), %cl 34 ; X86-NOBMI-NEXT: movl $1, %eax 35 ; X86-NOBMI-NEXT: shll %cl, %eax [all …]
|
D | mul-constant-i64.ll | 2 …e=i686-unknown | FileCheck %s --check-prefixes=X86 3 …-unknown -mul-constant-optimization=false | FileCheck %s --check-prefixes=X86-NOOPT 12 ; X86-LABEL: test_mul_by_1: 13 ; X86: # %bb.0: 14 ; X86-NEXT: movl {{[0-9]+}}(%esp), %eax 15 ; X86-NEXT: movl {{[0-9]+}}(%esp), %edx 16 ; X86-NEXT: retl 18 ; X86-NOOPT-LABEL: test_mul_by_1: 19 ; X86-NOOPT: # %bb.0: 20 ; X86-NOOPT-NEXT: movl {{[0-9]+}}(%esp), %eax [all …]
|
D | smul_fix.ll | 3 ; RUN: llc < %s -mtriple=i686 -mattr=cmov | FileCheck %s --check-prefix=X86 12 ; X64: # %bb.0: 22 ; X86-LABEL: func: 23 ; X86: # %bb.0: 24 ; X86-NEXT: movl {{[0-9]+}}(%esp), %eax 25 ; X86-NEXT: imull {{[0-9]+}}(%esp) 26 ; X86-NEXT: shrdl $2, %edx, %eax 27 ; X86-NEXT: retl 34 ; X64: # %bb.0: 40 ; X86-LABEL: func2: [all …]
|
D | fp128-cast-strict.ll | 8 ; RUN: llc < %s -mtriple=i686-linux-gnu -mattr=-sse | FileCheck %s --check-prefixes=X86 14 @vf80 = common global x86_fp80 0xK00000000000000000000, align 8 15 @vf128 = common global fp128 0xL00000000000000000000000000000000, align 16 19 ; X64-SSE: # %bb.0: # %entry 21 ; X64-SSE-NEXT: movss {{.*#+}} xmm0 = mem[0],zero,zero,zero 28 ; X64-AVX: # %bb.0: # %entry 30 ; X64-AVX-NEXT: vmovss {{.*#+}} xmm0 = mem[0],zero,zero,zero 36 ; X86-LABEL: TestFPExtF32_F128: 37 ; X86: # %bb.0: # %entry 38 ; X86-NEXT: pushl %esi [all …]
|
D | fp-arith.ll | 2 ; RUN: llc < %s -mtriple=i386-unknown | FileCheck %s --check-prefixes=X86 10 ; X86-LABEL: fiadd_fp80_i16: 11 ; X86: # %bb.0: 12 ; X86-NEXT: pushl %eax 13 ; X86-NEXT: .cfi_def_cfa_offset 8 14 ; X86-NEXT: fldt {{[0-9]+}}(%esp) 15 ; X86-NEXT: movzwl {{[0-9]+}}(%esp), %eax 16 ; X86-NEXT: movw %ax, {{[0-9]+}}(%esp) 17 ; X86-NEXT: fiadds {{[0-9]+}}(%esp) 18 ; X86-NEXT: popl %eax [all …]
|
D | extract-bits.ll | 2 …u -mattr=-bmi,-tbm,-bmi2,+fast-bextr < %s | FileCheck %s --check-prefixes=CHECK,X86,NOBMI,X86-NOBMI 3 …-bmi2,+fast-bextr < %s | FileCheck %s --check-prefixes=CHECK,X86,BMI1,X86-BMI1,BMI1NOTBM,X86-BMI1N… 4 …,-bmi2,+fast-bextr < %s | FileCheck %s --check-prefixes=CHECK,X86,BMI1,X86-BMI1,BMI1TBM,X86-BMI1TBM 5 … | FileCheck %s --check-prefixes=CHECK,X86,BMI1,X86-BMI1,BMI1BMI2,X86-BMI1BMI2,BMI1TBM,X86-BMI1TBM… 6 …extr < %s | FileCheck %s --check-prefixes=CHECK,X86,BMI1,X86-BMI1,BMI1BMI2,X86-BMI1BMI2,BMI1NOTBMB… 34 ; X86-NOBMI-LABEL: bextr32_a0: 35 ; X86-NOBMI: # %bb.0: 36 ; X86-NOBMI-NEXT: pushl %esi 37 ; X86-NOBMI-NEXT: movb {{[0-9]+}}(%esp), %dl 38 ; X86-NOBMI-NEXT: movb {{[0-9]+}}(%esp), %cl [all …]
|