[PATCH] D12498: X86: add an interrupt calling convention

Peter Marheine via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 12:16:24 PDT 2015


tari created this revision.
tari added a subscriber: llvm-commits.
tari set the repository for this revision to rL LLVM.

Add support for X86 hardware interrupt contexts. These require that all registers be saved (with a few minor exceptions), and sometimes take one parameter. The parameter value (if present) is placed on the stack below the function return address, so it must be popped before returning. Return must be performed with an iret instruction.

Repository:
  rL LLVM

http://reviews.llvm.org/D12498

Files:
  include/llvm/IR/CallingConv.h
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLToken.h
  lib/IR/AsmWriter.cpp
  lib/Target/X86/X86CallingConv.td
  lib/Target/X86/X86ExpandPseudo.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  lib/Target/X86/X86InstrControl.td
  lib/Target/X86/X86InstrInfo.td
  lib/Target/X86/X86InstrSystem.td
  lib/Target/X86/X86RegisterInfo.cpp
  test/CodeGen/X86/x86-intrcc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12498.33609.patch
Type: text/x-patch
Size: 15188 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150831/6cbba623/attachment.bin>


More information about the llvm-commits mailing list