On Dec 13, 2013, at 3:41 PM, David Woodhouse <dw...@infradead.org> wrote:

> On Tue, 2013-12-10 at 15:22 -1000, Andrew Fish wrote:
>>> Maybe we should just take David up on his offer of free assembler licenses. 
>>> :)
>>> 
>> 
>> Talking to a lawyer is not free.
> 
> Oh, for $DEITY's sake.
> 
> http://git.infradead.org/users/dwmw2/llvm.git
> 
> There, I fixed it for you :)
> 

Thanks, I see the internal bug report that we filed has already been updated 
with info about your patches. So thanks!

> That patchset needs some polish and some review from someone who's
> actually spent more than two days looking at LLVM, but should fix LLVM
> for the 16-bit addressing modes in .code32 *and* implement .code16.
> 
> The existing .code32-translated abomination in Thunk16.S probably
> *still* won't work, since it makes hard-coded assumptions about what
> size of displacement the assembler will use. It "knows" that the
> assembler will use [REG]+disp16 in some places where LLVM will actually
> use [REG]+disp32, and thus the hard-coded offsets are going to break.
> 

With out doing my research (like I should) is this instruction a pseudo-op that 
the assembler gets to chose? So there is no syntax to say use displacement size 
X or Y?

Thanks,

Andrew Fish

> So I think you're out of luck with ever compiling the existing code with
> LLVM and getting it to work. But the cleaned-up .code16 version that I
> posted should be fine.
> 
> -- 
> David Woodhouse                            Open Source Technology Centre
> david.woodho...@intel.com                              Intel Corporation


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to