diff options
-rw-r--r-- | lib/Target/X86/README.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt index 6f6abd478d..80368546c9 100644 --- a/lib/Target/X86/README.txt +++ b/lib/Target/X86/README.txt @@ -1709,3 +1709,10 @@ _test: it would be better to codegen as: x+~y (notl+addl) //===---------------------------------------------------------------------===// + +We should consider using __i686.get_pc_thunk.bx for MOVPC32r (used for PIC) +on targets that support it, such as Linux and similar targets, in place of +the call-a-label trick. It's said to be friendlier to branch-prediction +hardware because it pairs a ret with the call. + +//===---------------------------------------------------------------------===// |