search for: tsur

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

Did you mean: tour
2019 Jul 21
4
Altering the return address , for a function with multiple return paths
Playing around with calling conventions naked functions and epilogue/prologue... Is it possible/expressible/feasible to alter the return address the function will return to? For example, when a function may return an Int8 or a Float64, depending on some external state (user, or random variable), instead of checking the returned type in the calling function, is it possible to pass 2 potential
2019 Jul 21
2
Altering the return address , for a function with multiple return paths
...processor predicted, it has to > throw out all the instructions it started executing that it thought > came after the return, causing massive slow-downs. > > For an interesting application of changing the return address, lookup > retpolines. > > On Sun, Jul 21, 2019 at 2:07 AM Tsur Herman via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > > > Playing around with calling conventions naked functions and > epilogue/prologue... > > Is it possible/expressible/feasible to alter the return address the > function will return to? > > > &gt...