Skip to content
  1. Nov 23, 2011
    • Benjamin Kramer's avatar
      X86: Use btq for bit tests if the immediate can't be encoded in 32 bits. · ebcb4518
      Benjamin Kramer authored
      Before:
      	movabsq	$4294967296, %rax       ## encoding: [0x48,0xb8,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00]
      	testq	%rax, %rdi              ## encoding: [0x48,0x85,0xf8]
      	jne	LBB0_2                  ## encoding: [0x75,A]
      
      After:
      	btq	$32, %rdi               ## encoding: [0x48,0x0f,0xba,0xe7,0x20]
      	jb	LBB0_2                  ## encoding: [0x72,A]
      
      btq is usually slower than testq because it doesn't fuse with the jump, but here we're better off
      saving one register and a giant movabsq.
      
      llvm-svn: 145103
      ebcb4518
    • Elena Demikhovsky's avatar
      I added several lines in X86 code generator that allow to choose · 779ba6d7
      Elena Demikhovsky authored
      VSHUFPS/VSHUFPD instructions while lowering VECTOR_SHUFFLE node. I check a commuted VSHUFP mask.
      
      The patch was reviewed by Bruno.
      
      llvm-svn: 145099
      779ba6d7
    • Jakob Stoklund Olesen's avatar
      Fix PR11422. · 02845410
      Jakob Stoklund Olesen authored
      This was a bug in keeping track of the available domains when merging
      domain values.
      
      The wrong domain mask caused ExecutionDepsFix to try to move VANDPSYrr
      to the integer domain which is only available in AVX2.
      
      Also add an assertion to catch future attempts at emitting AVX2
      instructions.
      
      llvm-svn: 145096
      02845410
  2. Nov 22, 2011
  3. Nov 21, 2011
  4. Nov 20, 2011
  5. Nov 19, 2011
  6. Nov 18, 2011
  7. Nov 17, 2011
  8. Nov 16, 2011
  9. Nov 15, 2011
  10. Nov 14, 2011
  11. Nov 13, 2011
  12. Nov 12, 2011
  13. Nov 11, 2011
Loading