Optimize set_syscall_retval() for arm64 by predicting the return
value to be zero.
Details
Details
- Reviewers
manu emaste mhorne - Group Reviewers
arm64 - Commits
- rG24ac1bd8ec3d: arm64: optimize set_syscall_retval()
rGfb8c2f743ab6: arm64: optimize set_syscall_retval()
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 34449 Build 31551: arc lint + arc unit
Event Timeline
Comment Actions
similar to amd64,
if (__predict_true(error == 0)) { frame->tf_rax = td->td_retval[0]; frame->tf_rdx = td->td_retval[1]; frame->tf_rflags &= ~PSL_C; return; }