Skip to content
Discussion options

You must be logged in to vote

Hello @Dream4Leo,

I think that the return values of masked entries (active == false) is undefined, meaning that there is no guarantee either way. The idea is that the value should be unused anyway, its value wouldn't matter so there's no point spending time on it.

In practice though, two things happen:

  • Most plugins do mask out their return value, e.g. return result & active;
  • Return values of virtual function calls are automatically set to zero in masked lanes

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Dream4Leo
Comment options

@merlinND
Comment options

@Dream4Leo
Comment options

Answer selected by Dream4Leo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants