search for: data16_prefix

Displaying 2 results from an estimated 2 matches for "data16_prefix".

2012 Aug 17
1
[LLVMdev] Generate data16 assembly instruction for TLS with PIC
...e will not have data16 instruction) I search the llvm project and find some clues in this file: lib/Target/X86/X86MCInstLower.cpp static void LowerTlsAddr(...) { bool is64Bits = MI.getOpcode() == X86::TLS_addr64; .... if (is64Bits) { MCInst prefix; prefix.setOpcode(X86::DATA16_PREFIX); .... } .... } I think it is the logic to generate data16 instruction, but I wonder why gcc report warning. Is it a LLVM's bug? Thanks for your time in advance :D -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermai...
2012 Dec 17
0
[LLVMdev] LLVMdev Digest, Vol 98, Issue 33
...earch the llvm project and find some clues in this > file: lib/Target/X86/X86MCInstLower.cpp > static void LowerTlsAddr(...) > { > bool is64Bits = MI.getOpcode() == X86::TLS_addr64; > .... > if (is64Bits) { > MCInst prefix; > prefix.setOpcode(X86::DATA16_PREFIX); > .... > } > .... > } > > I think it is the logic to generate data16 instruction, but I wonder why > gcc report warning. Is it a LLVM's bug? > Thanks for your time in advance :D > -------------- next part -------------- > An HTML attachment was sc...