Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Does anybody know what this operator does in c++?

[DiscordArchive] Does anybody know what this operator does in c++?

[DiscordArchive] Does anybody know what this operator does in c++?

Pages (6): 1 2 3 4 5 6 Next
rektbyfaith
Administrator
0
05-15-2019, 05:05 PM
#1
Archived author: Skarn • Posted: 2019-05-15T17:05:04.480000+00:00
Original source

Does anybody know what this operator does in c++?
rektbyfaith
05-15-2019, 05:05 PM #1

Archived author: Skarn • Posted: 2019-05-15T17:05:04.480000+00:00
Original source

Does anybody know what this operator does in c++?

rektbyfaith
Administrator
0
05-15-2019, 05:05 PM
#2
Archived author: Skarn • Posted: 2019-05-15T17:05:15.491000+00:00
Original source

```cpp
asm("\tbsr %1, %0\n" : "=r"(layersW) : "r"(width));
asm("\tbsr %1, %0\n" : "=r"(layersH) : "r"(height));
```
rektbyfaith
05-15-2019, 05:05 PM #2

Archived author: Skarn • Posted: 2019-05-15T17:05:15.491000+00:00
Original source

```cpp
asm("\tbsr %1, %0\n" : "=r"(layersW) : "r"(width));
asm("\tbsr %1, %0\n" : "=r"(layersH) : "r"(height));
```

rektbyfaith
Administrator
0
05-15-2019, 05:05 PM
#3
Archived author: schlumpf • Posted: 2019-05-15T17:05:26.251000+00:00
Original source

not c++ but a compiler specific extension
rektbyfaith
05-15-2019, 05:05 PM #3

Archived author: schlumpf • Posted: 2019-05-15T17:05:26.251000+00:00
Original source

not c++ but a compiler specific extension

rektbyfaith
Administrator
0
05-15-2019, 05:05 PM
#4
Archived author: Skarn • Posted: 2019-05-15T17:05:26.416000+00:00
Original source

The compiler says : is a syntax error
rektbyfaith
05-15-2019, 05:05 PM #4

Archived author: Skarn • Posted: 2019-05-15T17:05:26.416000+00:00
Original source

The compiler says : is a syntax error

rektbyfaith
Administrator
0
05-15-2019, 05:05 PM
#5
Archived author: Skarn • Posted: 2019-05-15T17:05:38.735000+00:00
Original source

okay
rektbyfaith
05-15-2019, 05:05 PM #5

Archived author: Skarn • Posted: 2019-05-15T17:05:38.735000+00:00
Original source

okay

rektbyfaith
Administrator
0
05-15-2019, 05:05 PM
#6
Archived author: schlumpf • Posted: 2019-05-15T17:05:39.889000+00:00
Original source

so you're likely using gcc syntax in msvc or around
rektbyfaith
05-15-2019, 05:05 PM #6

Archived author: schlumpf • Posted: 2019-05-15T17:05:39.889000+00:00
Original source

so you're likely using gcc syntax in msvc or around

rektbyfaith
Administrator
0
05-15-2019, 05:05 PM
#7
Archived author: Skarn • Posted: 2019-05-15T17:05:44.872000+00:00
Original source

yes
rektbyfaith
05-15-2019, 05:05 PM #7

Archived author: Skarn • Posted: 2019-05-15T17:05:44.872000+00:00
Original source

yes

rektbyfaith
Administrator
0
05-15-2019, 05:05 PM
#8
Archived author: Skarn • Posted: 2019-05-15T17:05:49.874000+00:00
Original source

It fails on msvc
rektbyfaith
05-15-2019, 05:05 PM #8

Archived author: Skarn • Posted: 2019-05-15T17:05:49.874000+00:00
Original source

It fails on msvc

rektbyfaith
Administrator
0
05-15-2019, 05:06 PM
#9
Archived author: Skarn • Posted: 2019-05-15T17:06:00.459000+00:00
Original source

Can that be reworked to compile everywhere?
rektbyfaith
05-15-2019, 05:06 PM #9

Archived author: Skarn • Posted: 2019-05-15T17:06:00.459000+00:00
Original source

Can that be reworked to compile everywhere?

rektbyfaith
Administrator
0
05-15-2019, 05:06 PM
#10
Archived author: schlumpf • Posted: 2019-05-15T17:06:19.116000+00:00
Original source

not really, no, i doN't think they agree on a specific syntax.
rektbyfaith
05-15-2019, 05:06 PM #10

Archived author: schlumpf • Posted: 2019-05-15T17:06:19.116000+00:00
Original source

not really, no, i doN't think they agree on a specific syntax.

Pages (6): 1 2 3 4 5 6 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)